blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
116
path
stringlengths
2
241
src_encoding
stringclasses
31 values
length_bytes
int64
14
3.6M
score
float64
2.52
5.13
int_score
int64
3
5
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
text
stringlengths
14
3.57M
download_success
bool
1 class
9a16c142eb47755fcea87758e710552c32f20bb6
PHP
danielzielka/cli-rss-to-csv
/src/services/CSVCreator.php
UTF-8
2,518
3.09375
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace DanielZielkaRekrutacjaHRtec\services; class CSVCreator { const DELMITER = ';'; private $schema; private $data; private $file; private $extended = false; public function setSchema(array $schema): self { $this->schema = $schema; ret...
true
f63c7fa38f8a878a4d2a134b471045ed97cadfcd
PHP
olegmicode/crossword
/wordsearch/api/level/read-by-permalink.php
UTF-8
1,797
2.96875
3
[]
no_license
<?php // required headers header("Access-Control-Allow-Origin: *"); header("Content-Type: application/json; charset=UTF-8"); // include database and object files include_once '../../../admin/wordsearch/config/database.php'; include_once '../../../admin/wordsearch/objects/level.php'; // instantiate database object $da...
true
813de102282e3a7c278773791f7fce417795b584
PHP
FlyingDR/struct-bundle
/DependencyInjection/Configurator/NamespaceMapConfigurator.php
UTF-8
1,281
2.671875
3
[ "MIT" ]
permissive
<?php namespace Flying\Bundle\StructBundle\DependencyInjection\Configurator; use Flying\Struct\Configuration; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * Configurator of namespaces map for structures configuration */ class NamespaceMapConfigurator { /** * @var array...
true
8ccc6e7f8deec8eeb3fe37cad00685118bdf2d01
PHP
globin/tpp
/api/src/Mayflower/TPPBundle/Command/TestCommand.php
UTF-8
2,628
2.515625
3
[ "MIT" ]
permissive
<?php namespace Mayflower\TPPBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; ...
true
63628b7f37bab1eb5ae8ba7b2f9bc322e914d8c1
PHP
philipbrown/laravel-slack-commands
/app/Http/Controllers/SlackController.php
UTF-8
449
2.53125
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Slack\Slack; use Illuminate\Http\Request; class SlackController extends Controller { /** * Handle the Command * * @param string $command * @param Request $request * @return JsonResponse */ public function commands($command, Request $r...
true
0844d118aef964a87d951d7115e22ce5ec64f996
PHP
sunil209/mvc_Iinsta
/wp-content/themes/instapagev3/v5/classes/insta-performance/StatisticHandler.php
UTF-8
5,205
2.9375
3
[]
no_license
<?php namespace Instapage\Classes\InstaPerformance; use Instapage\Classes\InstaPerformance\{ TimeSegmentInterface, LoopedTimeSegment, SingleTimeSegment, Configuration, Math }; /** * Statistic handler class is responsible for all calculation related to instaPerformance test. * */ class StatisticHandler ...
true
238780404cc976b6ab6b7a9b50a6be269c3b4b3a
PHP
diaktors/writewell_sprint2
/module/Signin/src/Signin/Model/AuthkeyModel.php
UTF-8
1,420
2.515625
3
[]
no_license
<?php namespace Signin\Model; // Add these import statements use Zend\InputFilter\Factory as InputFactory; use Zend\InputFilter\InputFilter; use Zend\InputFilter\InputFilterAwareInterface; use Zend\InputFilter\InputFilterInterface; class AuthkeyModel implements InputFilterAwareInterface { public $au_id; p...
true
5dd4c8d176733f5236ce1e01968d9367752edd78
PHP
new-frontiers/hashing
/src/BCryptHasher.php
UTF-8
774
3.125
3
[ "MIT" ]
permissive
<?php /** * Copyright (c) new frontiers Software GmbH */ namespace NewFrontiers\Hashing; class BCryptHasher extends AbstractHasher { /** * The cost * * @var int */ private $cost; /** * BCryptHasher constructor * * @param int $cost */ public function __const...
true
c92a3af529bbffdfb5137d8b91655c8e13a9bfa8
PHP
andriusor8604/homework_simple
/login_script.php
UTF-8
1,082
2.546875
3
[]
no_license
<?php if ($_SERVER["REQUEST_METHOD"] == "POST") { // Change this to your connection info. $DATABASE_HOST = ''; $DATABASE_USER = ''; $DATABASE_PASS = ''; $DATABASE_NAME = ''; // Try and connect using the info above. $con = mysqli_connect($DATABASE_HOST, $DATABASE_USER, $DATABASE_PASS, $DATABASE_NAME); $atsaky...
true
81349d4e2afb04f509cbd495b0b4f23336664351
PHP
rgpjones/magento-api-tool
/src/Command/customerCustomerCreate.php
UTF-8
1,124
2.515625
3
[]
no_license
<?php require_once __DIR__ . '/../RemoteService.php'; try { $questions = array( array( 'param' => 'email', 'question' => 'Email', 'type' => 'text' ), array( 'param' => 'firstname', 'question' => 'First Name', 'type' => ...
true
d6189993dd7ab5183971ddf3a3810852491025b4
PHP
ipunkt/rancherize
/app/RancherAccess/UpgradeMode/ReplaceUpgradeChecker.php
UTF-8
857
2.78125
3
[ "MIT" ]
permissive
<?php namespace Rancherize\RancherAccess\UpgradeMode; use Rancherize\Configuration\Configuration; /** * Class ReplaceUpgradeChecker * @package Rancherize\RancherAccess\UpgradeMode */ class ReplaceUpgradeChecker { /** * @var UpgradeModeFromConfiguration */ private $upgradeModeFromConfiguration; /** * Repl...
true
a238a632d8c5143017300ad7fe33112c4062cf39
PHP
fykosak/fksdb
/app/Models/Pipeline/Pipeline.php
UTF-8
777
3.09375
3
[]
no_license
<?php declare(strict_types=1); namespace FKSDB\Models\Pipeline; use Fykosak\Utils\Logging\MemoryLogger; /** * Represents a simple pipeline where each stage has its input and output and they * comprise a linear chain. * @phpstan-template TData */ class Pipeline { /** @phpstan-var Stage<TData>[] */ publi...
true
22baa813665d1e3664a4ad0b4e6b56faa0c6cc4a
PHP
tmleeek/hoe
/code/local/Innobyte/PayULite/Model/Config.php
UTF-8
9,724
2.515625
3
[]
no_license
<?php /** * Config model. Don 't forget to set method 's code and store 's id before using it. * * @category Innobyte * @package Innobyte_PayULite * @author Bogdan Constantinescu <bogdan.constantinescu@innobyte.com> */ class Innobyte_PayULite_Model_Config extends Mage_Payment_Model_Config { /** ...
true
65156cf888920dbeb91a9dcf251f633bf90d988d
PHP
icelake0/GameCatalogApp
/app/Repositories/GamePlayRepository.php
UTF-8
3,542
2.953125
3
[ "MIT" ]
permissive
<?php namespace App\Repositories; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\Request; use App\Models\GamePlay; use Illuminate\Contracts\Pagination\LengthAwarePaginator; class GamePlayRepository { /** * GamePlay instancr * * @var GamePlay */ protected $game_play; /...
true
0aa40575cf7f667aa6f4c4b8022979a4961513b4
PHP
push-ad/push-ad-php-lib
/src/PushAd/Model/Response/Response.php
UTF-8
910
2.890625
3
[ "MIT" ]
permissive
<?php namespace PushAd\Model\Response; abstract class Response { protected $success; protected $info; protected $status; protected $body; public function getSuccess() { return $this->success; } public function getInfo() { return $this->info; ...
true
6a0699348c2463d257ac4326749f7c76f8ea5767
PHP
woliveira1993/painel-de-administracao-php
/Sys/Dashboard.class.php
UTF-8
2,777
2.953125
3
[]
no_license
<?php class Usuarios{ public function Unico($id){ $this->id = $id; global $pdo; $sql = "SELECT * FROM users WHERE id = :id"; $sql = $pdo->prepare($sql); $sql->bindValue("id",$this->id); $sql->execute(); return $sql-...
true
ee312fffcb021a8ac22a21e81c3ab75bbef04e70
PHP
skiles-bailey/CS419Project
/website/db/connect.php
UTF-8
610
2.640625
3
[]
no_license
<?php //Turn on error reporting ini_set('display_errors', 'On'); //database variables $dbhost = 'mysql.eecs.oregonstate.edu'; $dbuser = 'cs419-g14'; $dbpass = 'fhN8WsZMqhcSSrLB'; $dbname = 'cs419-g14'; //Connects to the database $mysqli = new mysqli($dbhost, $dbuser, $dbpass, $dbname); //echo "Connection was success...
true
4a8c3fa630bad523ec92c99613df1073c174478e
PHP
Alaya95/phpPatterns
/homeworks/hw9/Sort/QuickSort.php
UTF-8
490
3.25
3
[]
no_license
<?php function quickSortLesson(array $mas): array { $arrCount = count($mas); if ($arrCount <= 1) { return $mas; } $base = $mas[0]; $left = []; $right = []; for ($i = 1; $i < $arrCount; $i++) { if ($base >= $mas[$i]) { $left[] = $mas[$i]; } else { ...
true
cd494cd3ed3b59a7fc3df19325a6894e796001e8
PHP
zyrjdtyrj/casino
/database/seeders/Prizes.php
UTF-8
652
2.640625
3
[]
no_license
<?php namespace Database\Seeders; use App\Models\Gambler; use App\Services\Casino; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\App; class Prizes extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { /** * @var $c...
true
34414c54edeafa016c42aa589c491d10f559923f
PHP
cipherpay/bank-demo
/html/add_acc.php
UTF-8
2,948
2.671875
3
[ "MIT" ]
permissive
<?php require 'header-footer.php'; require 'db_func.php'; $server_response = "<p>Waiting for form submit...</p>"; setlocale(LC_MONETARY, 'en_US.utf8'); // Start DB connections $db = db_connect(); // Add account $cust_id = $_POST['cust_id']; $balance = str_replace(",", "", $_POST['balance']); if ($cust_id...
true
50bccaf1a48bfeba2e365e0665a8f8de017aa6c8
PHP
saattt/PHPBook
/codes/ch15/26.php
UTF-8
270
2.796875
3
[]
no_license
<?php error_reporting(0); $fruits = array('Mango', 'Apple', 'Lichi', 'Pineapple', 'Strawberry'); echo "Before unset:"; echo "<pre>"; var_dump($fruits); echo "</pre>"; echo "After Unset:"; echo "<pre>"; unset($fruits); var_dump($fruits); echo "</pre>";
true
72aaddba0558035d870be7131f91537e0dd112f9
PHP
everythinggood/wechat-card
/src/Request/CardUserGetCardListRequest.php
UTF-8
1,088
2.734375
3
[ "MIT" ]
permissive
<?php /** * Created by PhpStorm. * User: ycy * Date: 18-11-18 * Time: 下午7:07 */ namespace wechat\request; class CardUserGetCardListRequest implements RequestInterface { use RequestTrait; public $access_token; private $openid; /** * not must * @var */ private $card_id; /...
true
949e6ddc8daaf82addbba446103c20e206872435
PHP
janainfanger/itc240-webapp-1
/widgets/widgets/themes/Clean/config.php
UTF-8
4,389
2.5625
3
[ "MIT", "Apache-2.0" ]
permissive
<?php /* config.php Stores configuration data for our application */ ob_start();// prevents header errors and forces the whole page to be read before loading. define('DEBUG',TRUE); #we want to see all errors include 'credentials.php'; //database credentials define('THIS_PAGE', basename($_SERVER['PHP_SELF']...
true
499d911c753c75a9e57a4ff4a134a7858cedb0e1
PHP
vandoanh/demo-jenkins
/app/Library/Models/Cache/Chat.php
UTF-8
1,516
2.765625
3
[]
no_license
<?php namespace App\Library\Models\Cache; use App\Library\Models\Traits\Singleton; use App\Library\Services\CachingService; use App\Library\Services\CommonService; class Chat { use Singleton; private $cacheInstance; /** * Key cache */ private $key_list_message = 'chat_list_message'; p...
true
6e502c1007ee5fe4821821dfdbf6ece1497b8aaf
PHP
atsompanis/CIMS
/filter.php
UTF-8
13,563
2.75
3
[]
no_license
<?php //include 'dbh.php'; //include 'index.php'; // //if(isset($_POST['submit'])) { // $duration = $_POST['duration']; // $internship_level=$_POST['internship_Level']; // ////$sql = "SELECT * FROM internships WHERE duration='$duration'"; ////$result=mysqli_query($conn,$sql); // // if ($_POST['durat...
true
9670df269503853a49c1d656b8d4f974982492f1
PHP
ppetermann/knight23
/src/Output/SimpleTextWriter.php
UTF-8
553
3.359375
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php namespace Knight23\Core\Output; /** * Class SimpleTextWriter, for test & demonstration purposes, * use a proper writer for anything else * * @package Knight23\Core\Output */ class SimpleTextWriter implements WriterInterface { /** * echoes $line plus eol character * @param $line */ pu...
true
06563e6ec7125d60241066fcceb4b283d6877c65
PHP
chrisndirangu54/digital-marketplace-1
/tests/Unit/FileTest.php
UTF-8
1,183
2.625
3
[]
no_license
<?php namespace Tests\Unit; use App\File; use Illuminate\Support\Facades\Storage; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; class FileTest extends TestCase { use RefreshDatabase; use WithFaker; /** * @test */ public ...
true
14493fc1a26b74afd2b566bc056cb5be78a3124f
PHP
Krystopher06/PHP-MYSQL
/PHP/Niveau4/Exo-4/index.php
UTF-8
2,180
3.015625
3
[]
no_license
<!DOCTYPE html> <html lang="fr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <h1>Exercice 4</h1> <p>Enoncé : Créez une classe nommée form représentant un formulaire HTML. Le constructeur doit créer le code ...
true
c05d9430ddf25ac55cd6e9af697c6727ee595576
PHP
irvingdc/swedishnet-website
/static/contact.php
UTF-8
1,216
2.59375
3
[ "MIT" ]
permissive
<?php header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Headers: Content-Type"); require_once('./mail/class.phpmailer.php'); if(!isset($_POST['email'])) die("Forbidden."); $subject = 'Contact form submitted from '.$_POST['email']; $body = 'Name: '.$_POST['name'].'<br/>'. 'Phon...
true
a0537cecfb8d55baf46976c686d94d05157719b0
PHP
perfectgait/eopi
/php/6.17-sudoku_checker/sudoku_checker.php
UTF-8
3,734
3.28125
3
[]
no_license
<?php require_once '../bootstrap.php'; use EOPI\Helper\InputHelper; /** * The time complexity is O(n^2) and the storage complexity is O(n). */ /** * Check a Sudoku board to see if it is valid. This works by looking at each row, each column and each sub-grid of the * board. If there are any duplicates in the r...
true
1d3d96dd860128b301f848418fd73c9a92ca75a2
PHP
sasaoka-webjump/academia
/api/core/handler.php
UTF-8
523
2.640625
3
[]
no_license
<?php use Pecee\SimpleRouter\SimpleRouter as Router; /** * Handles the errors thrown in the application */ function handler(\Throwable $error) { $message = $error->getMessage(); // die(var_dump($message)); if ($error instanceof \Exception) { $code = $error->getCode(); } else { $cod...
true
0902d7b8f8609b01c0681077ebb902ba6a396345
PHP
googleads/googleads-php-lib
/examples/AdManager/v202302/ProposalService/CreateProposals.php
UTF-8
4,507
2.578125
3
[ "Apache-2.0" ]
permissive
<?php /** * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
true
e21ee03773cf7e5923c8873d0a9e0ce320d15dee
PHP
hmsvitor/curso-php
/php-pdo/add.php
UTF-8
714
2.890625
3
[]
no_license
<?php require 'config.php'; if(isset($_POST['name']) && !empty($_POST['name'])){ $name = addslashes($_POST['name']); $email = addslashes($_POST['email']); $password = md5(addslashes($_POST['password'])); $sql = "INSERT INTO users SET name = '{$name}', email='{$email}', password='{$password}'"; i...
true
3482ae29992ba36813acd83adc61c49d77273184
PHP
mhmmdferry713/astral-company
/application/modules/panel/models/SettingAccountModel.php
UTF-8
1,820
2.5625
3
[ "MIT" ]
permissive
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class SettingAccountModel extends CI_Model { private $_table = 'user'; public function rules() { return array( [ 'field' => 'username', 'label' => 'Username', 'rules' => 'required|trim' ], [ ...
true
0ff361252f59a45d820f9ceef2d5317dadbcb482
PHP
xyrit/huogou
/models/Qq.php
UTF-8
1,606
2.609375
3
[ "BSD-3-Clause" ]
permissive
<?php namespace app\models; use Yii; use yii\data\Pagination; /** * This is the model class for table "qq". * * @property string $id * @property string $num * @property integer $default * @property string $android_key * @property string $ios_key * @property string $uin * @property string $created_at * @pro...
true
e5c098a415a49f954815124887e5b91b165b2648
PHP
warnstar/wt_crm
/common/models/Festival.php
UTF-8
1,679
2.796875
3
[ "BSD-3-Clause" ]
permissive
<?php namespace common\models; use Yii; /** * This is the model class for table "festival". * * @property string $id * @property string $name * @property integer $start_time * @property string $greeting * @property integer $create_time */ class Festival extends \yii\db\ActiveRecord { /** * @inheritd...
true
02ec526f948ebcf2dc4989f63bdb1aefda12338b
PHP
joshel167/finale
/app/models/Singleton.php
UTF-8
832
3.1875
3
[]
no_license
<?php class Singleton { private static $instance = null; private $pdo; protected function __construct() { global $dbName,$user, $pass; $dsn = "mysql:dbname=".DB_NAME.";host=".HOST.";port=3306;charset=utf8"; $this->pdo = new PDO($dsn, USER, PASS); $this->pdo->setAttribu...
true
a88f76b2f8267a6048b5df685791b64b066b4137
PHP
ricardovasquezpe/smiledu_bsc
/application/modules/matricula/helpers/Combos_matricula_helper.php
WINDOWS-1250
4,269
2.515625
3
[]
no_license
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); if(!function_exists('__buildComboAulasByGradoYear')) { function __buildComboAulasByGradoYear($idNivel,$idSede, $idGrado, $year, $idaula = null){ $CI =& get_instance(); $aulas = $CI->m_matricula->getAulasByGradoYear($idNivel,...
true
2463d68b65c5a8855137ee6b5d9d1205eb3bc5e2
PHP
theDisco/Arachne
/src/Arachne/Http/Client/ClientInterface.php
UTF-8
1,074
2.59375
3
[ "MIT" ]
permissive
<?php /* * This file is part of the Arachne package. * * (c) Wojtek Gancarczyk <gancarczyk@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arachne\Http\Client; use Arachne\Http\Response; /** * Interface Cl...
true
a119484e676b0e54944ff1898e3d97cab94cd788
PHP
fightbulc/simplon_facebook
/src/User/Data/UserAccountData.php
UTF-8
3,673
2.734375
3
[ "MIT" ]
permissive
<?php namespace Simplon\Facebook\User\Data; use Simplon\Helper\CastAway; use Simplon\Helper\Data\Data; /** * @package Simplon\Facebook\User\Data */ class UserAccountData extends Data { const PERM_ADMINISTER = 'ADMINISTER'; /** * @var string */ protected $id; /** * @var array */...
true
41a56102521d7ccca43691152e5948ebde6e2366
PHP
igraal/stats-table
/lib/IgraalOSL/StatsTable/Aggregation/RatioAggregation.php
UTF-8
1,081
2.953125
3
[ "MIT" ]
permissive
<?php namespace IgraalOSL\StatsTable\Aggregation; use IgraalOSL\StatsTable\Dumper\Format; use IgraalOSL\StatsTable\StatsTableBuilder; class RatioAggregation implements AggregationInterface { private $valueInternalName; private $overInternalName; private $format; public function __construct($overInte...
true
1b23c99d9c15222421c956e70b62eba97acdf3f6
PHP
xp-framework/compiler
/src/test/php/lang/ast/unittest/emit/ScalarsTest.class.php
UTF-8
1,804
2.5625
3
[ "BSD-3-Clause" ]
permissive
<?php namespace lang\ast\unittest\emit; use test\{Assert, Test, Values}; class ScalarsTest extends EmittingTest { #[Test, Values([['0', 0], ['1', 1], ['-1', -1], ['1.5', 1.5], ['-1.5', -1.5],])] public function numbers($literal, $result) { Assert::equals($result, $this->run('class %T { public function run() ...
true
1d4365e19ecbe215e4371ea9d200a8e71e576587
PHP
adikalon/avito
/classes/Request.class.php
UTF-8
1,671
2.96875
3
[]
no_license
<?php /** * Запросы на сервер */ class Request { /** * User-Agent для неавторизированного состояния */ public static $unknownUserAgent = 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36'; /** * User-Agent для авторизированного состояния ...
true
35b9a63884f805f1d7b77115d0bed39a87a27a7a
PHP
Guepardo/ArquiteturaPHP
/App/View/ViewBuilder.php
UTF-8
2,339
2.796875
3
[]
no_license
<?php namespace App\View; class ViewBuilder{ private static $view_builder = null; private $title; private $css_paths = []; private $js_paths = []; private $header = ''; private $page = ''; private $footer = ''; private $head = ''; private $params = null; public function __co...
true
36f8a53eb2b9a8f6ba31fcc9df47a13f799fa90c
PHP
klmm/PP2.0
/tests/ski-alpin/athletes.php
UTF-8
812
2.609375
3
[]
no_license
<?php require_once($_SERVER['DOCUMENT_ROOT'] . '/jeux/ski-alpin/lib/sql/get_athlete.php'); $arr_tous = get_athletes_tous(); $arr_en_activite_hommes = get_athletes_activite_genre('H'); $arr_en_activite_femmes = get_athletes_activite_genre('F'); $chaine_id = '2;159;40;78;23;99'; $arr_id = ge...
true
881f244b9902ddfc23cde01547edfd085bf36fb3
PHP
acid23m/yii2-admin
/src/models/task/TaskQuery.php
UTF-8
958
2.65625
3
[ "MIT" ]
permissive
<?php namespace dashboard\models\task; use yii\db\ActiveQuery; /** * This is the ActiveQuery class for [[TaskRecord]]. * * @see TaskRecord */ final class TaskQuery extends ActiveQuery { /** * Shows only published items. * @return $this */ public function published(): self { $th...
true
dfe924a4dbe65a02be2c288031ce9a6fafddbe8f
PHP
161710133/penjumlahan
/penjumlahan.php
UTF-8
637
3.140625
3
[]
no_license
<?php class bangun{ public $p,$l,$s,$a,$t; public function set_bill($p,$l,$s,$a,$t){ $this->panjang = $p; $this->lebar = $l; $this->sisi = $s; $this->alas = $a; $this->tinggi = $t; } public function get_bill(){ return $this->panjang * $this->lebar; } public function get_bill1(){ return $this->sisi...
true
34668d0ed12f9c3a6b7824cef7246f594148c44f
PHP
Aidan-Chey/Profile
/index.php
UTF-8
1,622
2.796875
3
[]
no_license
<?php date_default_timezone_set('NZ'); include $_SERVER['DOCUMENT_ROOT'].'/includes/magicQuotes.inc.php'; include $_SERVER['DOCUMENT_ROOT'].'/includes/helpers.inc.php'; if(isset($_POST['mail'])){ //Validate email if(!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $errors['email'] .= " Please enter a valid E...
true
06017ea15ff0c67abbf85e561c7d3608cc2e8e37
PHP
hunsly/OpenStreetBrowser
/www/inc/info.php
UTF-8
1,216
2.84375
3
[]
no_license
<? // info - shows details of an object (ob) in the sidebar // * Parameter: // ob is an instance of class geo_object // // * Functions: // show() - Show information about the object in the sidebar // hide() - Hide the information // // * Hooks: // info calls the following hooks: // "info" (chapters, object) // please...
true
862762c94830fd60d1295ddeee4adeb6ae91adf0
PHP
prestonwin78/Quizband
/TakeQuiz/results.php
UTF-8
5,341
2.953125
3
[]
no_license
<?php include("../config.php"); // Calculate and output results of the quiz $score = 0; $quiz_title = ""; $quiz_subject = ""; if( empty($_POST['quizid']) || empty($_POST['quiz-title']) || empty($_POST['quiz-subject']) ){ echo "Error"; } else { $quiz_id = $_POST['...
true
aeba6c7146da5657e972cb2b04f2eb7d3cedb2af
PHP
thaydan/ocp5
/core/Entity/IPost.php
UTF-8
124
2.703125
3
[]
no_license
<?php namespace Core\Entity; interface IPost { public function getPosts(): ?string; public function getPost(); }
true
a6ecf6c725f7c6e388fe534d9180b2efd08049b8
PHP
Jerff/v8-multilang-yachts.jdjiwi
/_sourse.ver3/_.extension/controller/cmfControllerDriver.php
UTF-8
1,597
2.59375
3
[]
no_license
<?php abstract class cmfControllerDriver { //abstract static public function update($id=null); //abstract static public function delete($id=null); //abstract static public function updateUri($id=null); //abstract static public function updateSearch($id=null); //abstract static public funct...
true
034fba13dd515645b1873b4d0885d0b1291f7b4f
PHP
belgattitude/solublecomponents
/src/Soluble/Normalist/Synthetic/ResultSet/ResultSet.php
UTF-8
4,328
2.890625
3
[ "MIT" ]
permissive
<?php namespace Soluble\Normalist\Synthetic\ResultSet; use Soluble\Normalist\Synthetic\Table; use Soluble\Normalist\Synthetic\Record; use Soluble\Normalist\Synthetic\Exception; use Soluble\Db\Sql\Select; use Iterator; use Countable; class ResultSet implements Iterator, Countable { /** * * @var \Zend\Db\...
true
8c22d080dcaece2261c017e70678c0f57f6d03d8
PHP
ukisoft/procon
/AlgorithmChallenge/0003.php
UTF-8
290
3.28125
3
[]
no_license
<?php namespace ProCon; class Cryptography { public function encrypt(array $numbers) { $base = 1; foreach ($numbers as $number) $base *= $number; foreach ($numbers as $number) $results[] = $base / $number * ($number + 1); return max($results); } }
true
2a1f62c76a55f362acd3c7416b301baf0c4902ee
PHP
geotechinfo/anva-mockup
/webservice/app/Services/ElasticStorageInterface.php
UTF-8
314
2.546875
3
[ "MIT" ]
permissive
<?php namespace App\Services; interface ElasticStorageInterface { /** * Set index type key * * @param $type * @return mixed */ public function setType($type); /** * Get item list * @param $searchBody * @return mixed */ public function lists(); }
true
b5952b26903c0c921b4c7ad5926376970f577014
PHP
blgguy/friendsofphp.org
/src/Xml/XmlReader.php
UTF-8
799
2.90625
3
[]
no_license
<?php declare(strict_types=1); namespace Fop\Core\Xml; use Fop\Core\Exception\XmlException; use Nette\Utils\FileSystem; use Nette\Utils\Strings; use SimpleXMLElement; final class XmlReader { public function loadFile(string $file): SimpleXMLElement { $fileContent = FileSystem::read($file); $f...
true
af8bd0ef7791ca359cb2fa5cee0506044321ad39
PHP
johnnymast/redbox-hooks
/tests/Demos/DemosTest.php
UTF-8
2,319
2.828125
3
[ "MIT" ]
permissive
<?php namespace Sandbox\Tests\Demos; use Sandbox; class DemosTest extends \PHPUnit_Framework_TestCase { /** * Capture the output of a demo using ob_start(). * * @param callable $callback * @return mixed */ private function captureTestOutput($callback) { ob_start(); ...
true
bd005c74a392c0f17696570b9222fd4350afc823
PHP
automarketing/BidApplier
/Sportsjun/app/Services/MSG91.php
UTF-8
2,878
2.53125
3
[ "MIT" ]
permissive
<?php namespace App\Services; use App\Model\Otp; class MSG91 { public static function callGenerateAPI($mobileNumber) { $otpApiUrl = "https://sendotp.msg91.com/api"; $mobileNumber = preg_replace('/\D/', '', $mobileNumber); $senderId = config('services.msg91.sender_id'); $data ...
true
9446e0216eea7bb71e064e70b11f80fc6edf344b
PHP
vandoanh/demo-jenkins
/app/Library/Services/Commands/PrecacheImage.php
UTF-8
1,231
2.515625
3
[]
no_license
<?php namespace App\Library\Services\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\Storage; use App\Library\Services\Jobs\PrecacheImage as JobPrecacheImage; class PrecacheImage extends Command { /** * The name and signature of the console command. * * @var string */ ...
true
22c41281c791b726c52ae43df0b00fac0f1660bc
PHP
Netzcream/empleosDV
/php/clases/Carrera.php
UTF-8
1,308
2.859375
3
[]
no_license
<?php if (!class_exists('MySQL')) { require_once $_SERVER["DOCUMENT_ROOT"]."/php/conex.php"; } class Carrera { private $id; private $descripcion; private $materias; private $carreras; public function __construct() { $this->id = null; $this->estado = null; $this->materias = array(); $...
true
4f1456dddc7ba891ca092888d62b4795814308bc
PHP
WPPlugins/try-theme-to-develop
/tryThemeToDevelop.php
UTF-8
2,299
2.65625
3
[]
no_license
<?php /* Plugin Name: Try theme to develop Plugin URI: http://jorge.delcasar.net/plugins/try-theme-to-develop/ Description: This plugin detect if current user have the capacity of "edit_themes" and then he can change the template to develop it. Author: Jorge del Casar Version: 0.1.1 Author URI: http://jorge.delcasar.ne...
true
71bce6566de26db9c83cc6f0b304338fc491879b
PHP
OChriiis/projetos-php
/exercicio6.php
UTF-8
226
3
3
[]
no_license
<?php function mostrarChaves($vetor){ foreach($vetor as $elemento){ echo $elemento . "; "; } } $vetorParam = ["Ônibus", "Trêm", "Metrô", "Articulado"]; $novoVetor = mostrarChaves($vetorParam);
true
7d9943af8c3e8c98b106424bde68e7e1fbd8fbd3
PHP
SDCM96/laravel-tec-materiales
/app/User.php
UTF-8
935
2.546875
3
[ "MIT" ]
permissive
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ p...
true
3e3bc0fe0fd152050ae866eab5a6c7e778cc9ab7
PHP
tgbv/mau5-geogra
/app/Formatting/Format.php
UTF-8
850
3.140625
3
[]
no_license
<?php namespace App\Formatting; class Format { // The schema of all codes private static $schema = [ '[>]' => '►', '[*]' => '•', '[b]' => '<b>', '[/b]' => '</b>', '[i]' => '<i>', '[/i]' => '</i>', '[m]' => '<span class="yellow">', '[/m]' => '</span>', '[tab]' => '&nbsp;&nbsp;&nbsp;', '[img]' => ...
true
9bc1332416e08a24cdd675e603054aebd611ebf2
PHP
grzeg1/Runalyze
/plugin/RunalyzePluginTool_DbBackup/class.RunalyzeBackupFileHandler.php
UTF-8
1,056
2.546875
3
[]
no_license
<?php /** * Class: RunalyzeBackupFile * @author Michael Pohl * @package Runalyze\Plugins\Tools */ class RunalyzeBackupFileHandler { /** * Path for all backups, relative to FRONTEND_PATH * @var string */ static $BackupPath = '../data/backup-tool/backup/'; public static function download($backup) { ...
true
a101220b357c6dfcbdaec076f26ddfe2b449540f
PHP
iskodirajga/buzzingpixel.com
/system/frame/Model/EntryFileName.php
UTF-8
1,638
2.9375
3
[]
no_license
<?php /** * Frame EntryFileName * * @package frame * @author TJ Draper <tj@buzzingpixel.com> * @link https://buzzingpixel.com/frame-cms * @copyright Copyright (c) 2015, BuzzingPixel */ namespace Frame\Model; class EntryFileName { protected $filename; protected $year; protected $month; protected $monthShor...
true
5ca4e8523525e05e4b5f4657cd86909a24b1fe60
PHP
demkomatous/Administration-system
/Action/reg.php
UTF-8
2,600
2.84375
3
[]
no_license
<?php include_once "../Accessed/Library/db.php"; session_start(); //Get informations from form if (isset($_POST["name"]) && is_string($_POST["name"]) && !preg_match( '/(User_access|DELETE|DROP|TABLE)/', $_POST["name"])) { $name = $_POST["name"]; } else { $name = null; } if (isset($_POST["surname"]) && is_...
true
fd6e4eaf52356291d075ebb2cb049c94be391eb1
PHP
davidescar/SkyDreamer
/ProgettoBasi/changePsw.php
UTF-8
1,914
2.609375
3
[ "MIT" ]
permissive
<?php require ("utility.php"); session_start(); if(!isset($_SESSION['loggato'])) //se l'utente non si è loggato viene reindirizzato alla pagina di login/registrazione header("Location: index.php"); ?> <!DOCTYPE html> <html lang="it"> <head> <title>Cambia Password</title> <?php printMetaTag(); ?> ...
true
f553ec8cef5d55a48618d478485fb503bc62bf18
PHP
reinaldorti/phptips
/ep15/source/Controllers/Web.php
UTF-8
706
2.609375
3
[ "MIT" ]
permissive
<?php namespace Source\Controllers; use Source\Models\Product; class Web extends Controllers { public function __construct($router) { parent::__construct($router); } public function home(array $data): void { echo $this->view->render("home", [ "products" => (new Prod...
true
1dc0a3982e75befbc134edbadaacd04dcc7c09b8
PHP
syjs10/PHP
/CI_Inforamtion/application/models/Need_model.php
UTF-8
1,472
2.703125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /** * 统计需求及统计数据 */ class Need_model extends CI_Model { function __construct(){ parent::__construct(); $this->load->database(); } /* 需统计数据表写入 */ public function need_ins...
true
3942b0b7f812ea4a01f263e933494cb35086794b
PHP
jasoncases/pa_preview
/src/Proaction/Domain/Timesheets/Resource/TimesheetActionFilter.php
UTF-8
7,716
2.546875
3
[]
no_license
<?php namespace Proaction\Domain\Timesheets\Resource; use Proaction\Domain\Clients\Model\GlobalSetting; use Proaction\Domain\Employees\Model\EmployeeRate; use Proaction\Domain\Payroll\Model\PayrollComplete; use Proaction\Domain\Timesheets\Model\Shift; use Proaction\Domain\Timesheets\Model\Timesheet; use Proaction\Sys...
true
74540ea9fac7aa6ea0e7e1252eaa51e0557a7895
PHP
chatrbot/chatbot-php
/request.php
UTF-8
1,042
3.03125
3
[ "MIT" ]
permissive
<?php class APIRequest { private $baseUrl; private $token; function __construct($baseUrl, $token) { $this->baseUrl = $baseUrl; $this->token = $token; } private function post($uri, $data) { $url = sprintf("http://%s/api/%s?token=%s", $this->baseUrl, $uri, $this->toke...
true
5eaad3713557b1671787af64f590c6415cade21a
PHP
kristopolous/lowcon
/addoffender.php
UTF-8
3,640
2.625
3
[]
no_license
<?php include('db.php'); ini_set('output_buffering', 'off'); while (@ob_end_flush()); ini_set('implicit_flush', true); ob_implicit_flush(true); header('Cache-Control: no-cache'); // recommended to prevent caching of event data. for($i = 0; $i < 1000; $i++) { echo ' '; } function report($what) { echo '<h...
true
c3d657c11123e3a7462d6014af282738825fe9db
PHP
ellogroup/cinema-api-client-php
/tests/unit/Api/Order/OrderCreationResponseFactoryTest.php
UTF-8
1,325
2.515625
3
[ "MIT" ]
permissive
<?php namespace DCG\Cinema\Tests\Unit\Api\Order; use PHPUnit\Framework\TestCase; use DCG\Cinema\Validator\ClientResponseDataFieldValidator; use DCG\Cinema\Api\Order\OrderCreationResponseFactory; use DCG\Cinema\Exception\UnexpectedResponseContentException; class OrderCreationResponseFactoryTest extends TestCase { ...
true
5b35892cd9bf7afd8cdd5637070b8a21ed96c0df
PHP
sctcs/v2016
/Directory/page.php
UTF-8
8,108
2.640625
3
[]
no_license
<?php class Page { var $STUDENT_NEW = 1; var $STUDENT_NEW_SUCCESS = 2; var $STUDENT_UPDATE = 3; var $STUDENT_VIEW_ALL = 4; var $CLASSROOM_NEW = 5; var $CLASSROOM_SUCCESS = 6; var $CLASSROOM_UPDATE = 7; var $CLASSROOM_VIEW_ALL = 8; var $TEACHER_VIEW_ALL = 9; var $CLEAN_DATABASE = 10; var $INIT_PAGE = ...
true
dc542131749932a9b24ec9f1699e5a5a39bd3f54
PHP
Myaza-Software/BridgeSpiralCore
/src/ServiceFactory.php
UTF-8
1,365
2.59375
3
[]
no_license
<?php /** * Bridge Spiral-Core * * @author Vlad Shashkov <root@myaza.info> * @copyright Copyright (c) 2021, The Myaza Software */ declare(strict_types=1); namespace Spiral\Bridge\Core; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Spiral\Core\FactoryInterface; final ...
true
32f13bf4a03c36a8cde02ffd04a4a29971d16a8e
PHP
tjheffner/march27_assessment4
/tests/storeTest.php
UTF-8
6,943
2.765625
3
[ "MIT" ]
permissive
<?php /** * @backupGlobals disabled * @backupStaticAttributes disabled */ require_once "src/Store.php"; require_once "src/Brand.php"; $DB = new PDO ('pgsql:host=localhost;dbname=shoes_test'); class StoreTest extends PHPUnit_Framework_TestCase { protected function tearDown() { Store::...
true
243a56c6ad94ec680795c0279854d4f4db306315
PHP
carlosbumba/sql-to-migration-generator
/tests/Writer/SignatureParamsTest.php
UTF-8
2,011
2.5625
3
[ "MIT" ]
permissive
<?php use Bumba\Sql2Migration\Writer\traits\SignatureParams; use PHPUnit\Framework\TestCase; class SignatureParamsTest extends TestCase { use SignatureParams; public static function SignaturesToGetParamsProvider() { return [ ['fn()', []], ['fn($a,$b)', ['$a', '$b']], ['f($a,$b=5,$c)', [...
true
64fe8a4e6a3d5982e23e0d0e06fa5238acfb1826
PHP
jrmacanada/cs313-mac
/groupassignment7/validate.php
UTF-8
3,062
3.046875
3
[]
no_license
<?php require("password.php"); // used for password hashing. // Start the session session_start(); include "helper_funcs.php"; /************************************** * * File: validate.php * Created by: jsimpson * Date: May 31, 2016 9:28:47 PM * Description: * **********************************...
true
fc87a6972200fee525c02b21d3b27dd613c65367
PHP
MemedDev/soluti-sdk-php
/src/Memed/Soluti/Signer.php
UTF-8
2,794
2.703125
3
[]
no_license
<?php declare(strict_types=1); namespace Memed\Soluti; use Memed\Soluti\Auth\AuthStrategy; use Memed\Soluti\Auth\Cloud; use Memed\Soluti\Auth\CloudAuthentication; use Memed\Soluti\Auth\Credentials; use Memed\Soluti\Auth\UserDiscovery; class Signer { /** * @var Manager */ protected $manager; /...
true
1079ca02766eaf5f3cbd75142c58383eea35be84
PHP
rplantefeve/piquenique
/formulaire_desinscription.php
UTF-8
3,794
2.578125
3
[]
no_license
<?php require_once 'includes/inscription.php'; require_once 'includes/participation.php'; require_once 'includes/utilisateur.php'; // Initialisation des variables $formSubmitted = false; // Messages d'informations $messageDesinscriptionEffectuee = false; /* * Traitement de l'envoi du formulaire */ // Si le formul...
true
04dd46eecaa102cee4ef232f14e43f1e9a78c844
PHP
voidliududu/wcp
/Role/Department.php
UTF-8
1,416
2.765625
3
[]
no_license
<?php /** * Created by PhpStorm. * User: liududu * Date: 17-4-1 * Time: 下午8:08 */ class Department { private static $_instance = null; private $con; function __construct() { $this->con = PDOHelper::getInstance(); } public static function getInstance() { if(!(self::$_ins...
true
b6847f2c067fc838512b80344f9022559e57b01d
PHP
ek222mw/1DV408_Webbutveckling_med_PHP
/Projekt/src/view/AddBandEventView.php
UTF-8
5,882
2.953125
3
[]
no_license
<?php require_once("common/HTMLView.php"); //Ärver HTMLView. class AddBandEventView extends HTMLView{ private $message = ""; private $createevent = "createevent"; private $createband = "createband"; private $createeventbutton = "createeventbutton"; private $createbandeventbutton = "createbandevent...
true
d69fb8902ae510030d4aac1f26be607c782ca0fd
PHP
AlexMedvedevDev/PHP-CodeWars
/7-kyu/friday-the-13th-part-1.php
UTF-8
1,014
3.21875
3
[]
no_license
INSTRUCTIONS It's Friday the 13th, and Jason is ready for his first killing spree! Create a function, killcount, that accepts two arguments: an array of array pairs (the conselor's name and intelligence - ["Chad", 2]) and an integer representing Jason's intellegence. PHP: $counselors = [["Chad", 2], ["Tommy", 9]]; $ja...
true
e6344c7b05b11e65fe85e58ab92d3955bb8c5435
PHP
gabriellecross1/jquery-database-manipulation
/server/insertXML.php
UTF-8
2,294
2.984375
3
[]
no_license
<?php // enable user libxml error handling and clear the libxml error buffer libxml_use_internal_errors(true); libxml_clear_errors(); // check if error is set and if it isn't instantiate it as an empty generic object if (!isset($error)) { $error = new stdClass(); } // check if passed data source name is set and if ...
true
b96af72c631894676aac6232b61abd802d5079c6
PHP
AliensRedSoftware/bftk
/src/app/forms/newlibs.php
UTF-8
4,384
2.765625
3
[]
no_license
<?php namespace app\forms; use facade\Json; use std, gui, framework, app; class newlibs extends AbstractForm { /** * @event filezip.action */ function doFilezipAction(UXEvent $e = null) { if (!$this->openfile->selected) { $dir = new DirectoryChooserScript(); $dir->o...
true
fd872dbc7c91819a042e62352306c341b318d566
PHP
kangpeter5/gil_web
/app/Http/Controllers/PagesController.php
UTF-8
1,112
2.609375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Http\Controllers\PostController; use App\Post; use Session; class PagesController extends Controller { public function getHome() { // '/' or '.' works but '.' makes it look more...
true
49e2b7f3874008a7ac01efe1fe7ef47630ad3ae4
PHP
samantha-eva/innobug
/src/Entity/Valider.php
UTF-8
1,536
2.5625
3
[]
no_license
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; /** * Valider * * @ORM\Table(name="valider", indexes={@ORM\Index(name="idPersonne", columns={"idPersonne"})}) * @ORM\Entity */ class Valider { /** * @var int * * @ORM\Column(name="Id_Projet", type="integer", nullable=false) * @...
true
fd5192bfa6e09853402d0fa3f0fc89b4498d27ec
PHP
lidan88/iot-management-system-with-datatables
/src/classes/model/process/CTable.php
UTF-8
4,742
2.609375
3
[]
no_license
<?php class CTable { public $_db = null; public function __construct() { global $_db; $this->_db = $_db; } public function db_query($query) { mysqli_query($this->_db, "set names utf8"); $result = mysqli_query($this->_db, $query); return $result; } ...
true
68a10c720927ca2d5c8ced54f4db8fe140c12c0d
PHP
themainframe/b2bFront
/classes/Database.class.php
UTF-8
19,493
3.046875
3
[]
no_license
<?php /** * Database Class * Handles MySQL Database Interaction * * Queries can be created individually: * $query = $database->query(); * $query->select(...)->limit(...)->execute(); * * See the Query class (/classes/Query.class.php) * * Or, single-channel queries may be made, with a 1-result buffer * ...
true
a8c9815703be9f1ae2ed096a5b42c57cdb84fce2
PHP
makermelissa/tripwire
/models/hit_model.php
UTF-8
1,106
2.59375
3
[]
no_license
<?php defined( 'BASEPATH' ) or die( 'No direct script access allowed' ); require_once(APPPATH.'models/default_model.php'); class Hit_model extends Default_Model { protected $tablename = 'NewHit'; public function __construct() { parent::__construct(); } public function archiveHits($search_id) { // Move Hits ...
true
e84cbcd17605c4c5236e4e51b7cf8a6caaf5fca7
PHP
wouterj/code-block-checker
/src/Service/CodeValidator/XmlValidator.php
UTF-8
1,258
2.546875
3
[]
no_license
<?php namespace Symfony\CodeBlockChecker\Service\CodeValidator; use Doctrine\RST\Nodes\CodeNode; use Symfony\CodeBlockChecker\Issue\Issue; use Symfony\CodeBlockChecker\Issue\IssueCollection; class XmlValidator implements Validator { public function validate(CodeNode $node, IssueCollection $issues): void { ...
true
dfad4860e9dc436b1e0907755def0b6a25bbc6b2
PHP
DavidMorenoCortina/jwt
/src/Model/RSAModel.php
UTF-8
1,015
3.03125
3
[ "MIT" ]
permissive
<?php namespace DavidMorenoCortina\JWT\Model; class RSAModel { private $name; private $privateKey; private $publicKey; /** * @return string */ public function getName() { return $this->name; } /** * @param string $name * @return RSAModel */ public ...
true
f385a6280aa60212e02cc6b79c965e8ee18a7d4a
PHP
darkaqua/calendar_web
/database/migrations/2017_04_24_142301_create_webs_table.php
UTF-8
794
2.734375
3
[ "MIT" ]
permissive
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateWebsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { //url, nom, descripció Schema::create('webs', function (Blueprint...
true
231c527f84c0bb65251e51b210b30204195be661
PHP
evangelistagrace/BudgetTracker
/src/testing.php
UTF-8
703
3.015625
3
[ "MIT" ]
permissive
<?php $mainArr = array(); $dataArr = ['1','2','3','5']; $dataArr2 = ['2','4','3','5']; $arr1 = array( "label" => "Groceries", "data" => $dataArr ); $arr2 = array( "label" => "Food", "data" => $dataArr2 ); array_push($mainArr, $arr1); array_push($mainArr, $arr2); ?> <!DOCTYPE html> <html lang="e...
true
69b1aea60c0d6d3fe1c759edede3771b8dceca73
PHP
emmahk/ecclesiacrm
/src/api/routes/people/people.php
UTF-8
6,935
2.53125
3
[ "MIT" ]
permissive
<?php /****************************************************************************** * * filename : api/routes/people.php * last change : Copyright all right reserved 2018/04/14 Philippe Logel * description : Search terms like : Firstname, Lastname, phone, address, * groups, families, etc... * *...
true
1c512735555645fa2c3bb26d443a6c9f20f41cea
PHP
zhanglei/kafka-swoole-core
/src/Protocol/Type/String16.php
UTF-8
485
2.578125
3
[]
no_license
<?php declare(strict_types=1); namespace Kafka\Protocol\Type; class String16 extends AbstractType { protected static $wrapperProtocol = 'n'; /** @var mixed $value */ protected $value; /** * @return mixed */ public function getValue() { return $this->value; } /** ...
true
25dfc79af055b9134a4cb8567f6c765606a01560
PHP
Dzirt/meganews
/controllers/Dashboard.php
UTF-8
2,115
2.71875
3
[]
no_license
<?php /** * summary */ require_once('core/Controller.php'); require_once('models/post_model.php'); class Dashboard extends Controller { /** * summary */ private $postDB; public function __construct() { if (isset($_SESSION['auth']) && $_SESSION['type'] === 'admin') { $this->postDB...
true
888b5ad41b94358e777203092228312944e6f5ca
PHP
yusidabcs/sirius
/src/core/modules/address_book/models/home/model.class.php
UTF-8
1,486
2.5625
3
[]
no_license
<?php namespace core\modules\address_book\models\home; /** * Final model class. * * @final * @extends module_model * @package address_book * @author Martin O'Dee <martin@iow.com.au> * @copyright Martin O'Dee 4 January 2016 */ final class model extends \core\app\classes\module_base\module_model { protected...
true
bf02cebfe50ab4654e44f85541b287d82950a9d4
PHP
sh2/dstatAggregator
/index.php
UTF-8
4,090
2.515625
3
[]
no_license
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>dstatAggregator</title> <style type="text/css"> table, th, td { border: 1px solid gray; border-collapse: collapse; padding: 2px 4px; } </style> </head> <body> <h1>dstatAggregator</h1> <p>他の二つほどき...
true