/
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/bug70982.phpt
--TEST-- Bug #70982 (setStaticPropertyValue behaviors inconsistently with 5.6) --FILE-- <?php class Foo { static $abc; function __construct() { var_dump(self::$abc); } } class Bar extends Foo { } $rf = new ReflectionClass('Bar'); $rf->setStaticPropertyValue('abc', 'hi'); $foo = $rf->newInstance(); ?> --EXPECT-- string(2) "hi"
Copyright ©2k19 -
Hexid
|
Tex7ure