default.txt 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. require_once 'Zend/Uri/Http.php';
  2. namespace Location\Web;
  3. interface Factory
  4. {
  5. static function _factory();
  6. }
  7. abstract class URI extends BaseURI implements Factory
  8. {
  9. abstract function test();
  10. public static $st1 = 1;
  11. const ME = "Yo";
  12. var $list = NULL;
  13. private $var;
  14. /**
  15. * Returns a URI
  16. *
  17. * @return URI
  18. */
  19. static public function _factory($stats = array(), $uri = 'http')
  20. {
  21. echo __METHOD__;
  22. $uri = explode(':', $uri, 0b10);
  23. $schemeSpecific = isset($uri[1]) ? $uri[1] : '';
  24. $desc = 'Multi
  25. line description';
  26. // Security check
  27. if (!ctype_alnum($scheme)) {
  28. throw new Zend_Uri_Exception('Illegal scheme');
  29. }
  30. $this->var = 0 - self::$st;
  31. $this->list = list(Array("1"=> 2, 2=>self::ME, 3 => \Location\Web\URI::class));
  32. return [
  33. 'uri' => $uri,
  34. 'value' => null,
  35. ];
  36. }
  37. }
  38. echo URI::ME . URI::$st1;
  39. __halt_compiler () ; datahere
  40. datahere
  41. datahere */
  42. datahere