/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
reflection
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/reflection/tests/bug41884.phpt
--TEST-- Bug #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) --FILE-- <?php class Foo { protected static $fooStatic = 'foo'; protected $foo = 'foo'; } $class = new ReflectionClass('Foo'); var_dump($class->getDefaultProperties()); echo "Done\n"; ?> --EXPECT-- array(2) { ["fooStatic"]=> string(3) "foo" ["foo"]=> string(3) "foo" } Done
Copyright ©2k19 -
Hexid
|
Tex7ure