Searched refs:className (Results 1 – 25 of 36) sorted by relevance
12
2 DOMElement::className17 var_dump($dom->documentElement->className);19 var_dump($dom->documentElement->className);20 $dom->documentElement->className = "";21 var_dump($dom->documentElement->className);22 $dom->documentElement->className = "é";23 var_dump($dom->documentElement->className);24 $dom->documentElement->className = "\0";25 var_dump($dom->documentElement->className);26 $dom->documentElement->className = 12345;[all …]
29 ["className"]=>86 ["className"]=>
27 ["className"]=>89 ["className"]=>
6 $className = 'stdClass';7 $array = ['className' => 'stdClass'];8 $obj = (object) ['className' => 'stdClass'];11 public static $className = 'stdClass';16 var_dump(new $className);17 var_dump(new $array['className']);18 var_dump(new $obj->className);19 var_dump(new Test::$className);20 var_dump(new $test::$className);21 var_dump(new $weird[0]->foo::$className);
7 protected static $className = 'Foo';9 echo static::$className . "::bar\n";12 echo static::$className . "::__construct\n";15 echo static::$className . "::__destruct\n";20 protected static $className = 'FooChild';
6 spl_autoload_register(function ($className) {7 var_dump($className);9 if ($className == 'Foo') {12 throw new Exception($className);
5 spl_autoload_register(function ($className) {6 print "$className\n";
7 var_dump(isset($className::$test));13 Warning: Undefined variable $className in %s on line %d
6 spl_autoload_register(function($className) {7 if ($className == 'PrivateStatic') {
10 function autoLoad($className)12 echo __METHOD__ . "($className)\n";15 function autoThrow($className)17 echo __METHOD__ . "($className)\n";
8 function MyAutoLoad($className)10 echo __METHOD__ . "($className)\n";16 static function autoLoad($className)18 echo __METHOD__ . "($className)\n";22 function dynaLoad($className)24 echo __METHOD__ . "($className)\n";
10 static protected function noAccess($className) {11 echo __METHOD__ . "($className)\n";14 static function autoLoad($className) {15 echo __METHOD__ . "($className)\n";18 function dynaLoad($className) {19 echo __METHOD__ . "($className)\n";
10 static function autoLoad($className) {11 echo __METHOD__ . "($className)\n";
12 spl_autoload_register(function ($className) {13 echo "Triggered autoloader with class $className\n";15 if ($className === 'Quux') {
6 function reflectProperty($classOrObj, $property, $className = null) {7 $className ??= $classOrObj;10 echo "Reflecting on property $className::$property\n\n";
10 foreach ($classNames as $className) {11 echo $className, PHP_EOL;
15 foreach ($classNames as $className) {16 $rcs[$className] = new ReflectionClass($className);20 foreach ($classNames as $className) {21 if ($rcs[$className]->isInstantiable()) {22 $ros[$className] = new ReflectionObject(new $className);
8 function reflectProperty($classOrObj, $property, $className = null) {9 $className ??= $classOrObj;12 echo "Reflecting on property $className::$property\n\n";
6 spl_autoload_register(function ($className) {7 echo "Autoloading $className\n";
8 spl_autoload_register(function ($className) {9 var_dump($className);
35 function f($className) {37 foreach (new $className as $k=>$v) {
7 spl_autoload_register(function ($className) {8 echo "In autoload($className)\n";
6 spl_autoload_register(function ($className) {7 echo "In autoload($className)\n";
Completed in 29 milliseconds