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 : /usr/local/src/php7/php-7.0.5/Zend/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/bug55156.phpt |
--TEST-- Bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none) --INI-- opcache.save_comments=1 --FILE-- <?php /** test */ namespace foo { function test() { } $x = new \ReflectionFunction('foo\test'); var_dump($x->getDocComment()); /** test1 */ class bar { } /** test2 */ class foo extends namespace\bar { } $x = new \ReflectionClass('foo\bar'); var_dump($x->getDocComment()); $x = new \ReflectionClass('foo\foo'); var_dump($x->getDocComment()); } ?> --EXPECTF-- bool(false) string(12) "/** test1 */" string(12) "/** test2 */"
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare