Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/reflection/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/reflection/tests/bug29268.phpt |
--TEST-- Reflection Bug #29268 (__autoload() not called with reflectionProperty->getClass()) --FILE-- <?php spl_autoload_register(function ($classname) { echo "__autoload($classname)\n"; eval("class $classname {}"); }); class B{ public function doit(A $a){ } } $ref = new reflectionMethod('B','doit'); $parameters = $ref->getParameters(); foreach($parameters as $parameter) { $class = $parameter->getClass(); echo $class->name."\n"; } echo "ok\n"; ?> --EXPECT-- __autoload(A) A ok
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare