1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| require_once 'Zend/Uri/Http.php';
namespace Location\Web;
interface Factory { static function _factory(); }
abstract class URI extends BaseURI implements Factory { abstract function test();
public static $st1 = 1; const ME = "Yo"; var $list = NULL; private $var;
static public function _factory($stats = array(), $uri = 'http') { echo __METHOD__; $uri = explode(':', $uri, 0b10); $schemeSpecific = isset($uri[1]) ? $uri[1] : ''; $desc = 'Multi line description';
if (!ctype_alnum($scheme)) { throw new Zend_Uri_Exception('Illegal scheme'); }
$this->var = 0 - self::$st; $this->list = list(Array("1"=> 2, 2=>self::ME, 3 => \Location\Web\URI::class));
return [ 'uri' => $uri, 'value' => null, ]; } }
match ($key) { 1 => 'Integer 1', '1' => 'String 1', true => 'Bool true', [] => 'Empty array', [1] => 'Array [1]', };
enum Foo: string { case Test = 'test'; }
match ($key) { 1 => 'Integer 1', '1' => 'String 1', true => 'Bool true', [] => 'Empty array', [1] => 'Array [1]', };
echo URI::ME . URI::$st1;
__halt_compiler () ; datahere datahere datahere */ datahere
|