This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Cadfael\Tests\Factory; | |
use PHPSQLParser\PHPSQLParser; | |
use PHPUnit\Framework\TestCase; | |
class GreenlionTest extends TestCase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Minified | |
// class Orm{function s(&$c){$a=get_object_vars($this);$c[$a[$this->primary]]=$a;}function l($c,$p){foreach($c[$p] as$k=>$v)$this->$k=$v;}} | |
class Orm { | |
function s(&$c) { | |
$a = get_object_vars($this); | |
$c[$a[$this->primary]] = $a; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Event Dispatcher | |
function e($n,$p,$c=0){static $a;@krsort($a[$n]);if($c)$a[$n][$p][]=$c;else foreach($a[$n] as$q)foreach($q as$r)$r($p);} | |
// Minified Kernel | |
// function k($r){try{e('dispatch',[$r,&$p]);e('response',$p);}catch(Exception $x){e('error',$x);}} | |
function k($r) { | |
try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Version 1 | |
// Minified | |
// class Dispatch{function add($e,$l){$this->l[$e][]=$l;}function trigger($e,$d){foreach ($this->l[$e] as $l)call_user_func_array($l, $d);}} | |
class Dispatch{ | |
function add($e, $l) { | |
$this->l[$e][] = $l; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Psecio\Iniscan\Rule; | |
class PhpVulnerabilities extends \Psecio\Iniscan\Rule | |
{ | |
public function __construct($config, $section) | |
{ | |
parent::__construct($config, $section); | |
$this->setTest(array('key' => 'php.version')); |