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/bug61388.phpt |
--TEST-- ReflectionObject:getProperties() issues invalid reads when it get_properties returns a hash table with (inaccessible) dynamic numeric properties --FILE-- <?php $x = new ArrayObject(); $x[0] = 'test string 2'; $x['test'] = 'test string 3'; $reflObj = new ReflectionObject($x); print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC)); $x = (object)array("a", "oo" => "b"); $reflObj = new ReflectionObject($x); print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC)); --EXPECT-- Array ( [0] => ReflectionProperty Object ( [name] => test [class] => ArrayObject ) ) Array ( [0] => ReflectionProperty Object ( [name] => oo [class] => stdClass ) )
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare