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/ext/reflection/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/reflection/tests/bug53915.phpt |
--TEST-- Bug #53915 - ReflectionClass::getConstant(s) emits fatal error on selfreferencing constants --FILE-- <?php Class Foo { const A = 1; const B = self::A; } $rc = new ReflectionClass('Foo'); print_r($rc->getConstants()); Class Foo2 { const A = 1; const B = self::A; } $rc = new ReflectionClass('Foo2'); print_r($rc->getConstant('B')); --EXPECT-- Array ( [A] => 1 [B] => 1 ) 1
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare