/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug46308.phpt
--TEST-- Bug #46308 (Invalid write when changing property from inside getter) --FILE-- <?php class main { public static $dummy = NULL ; public static $dataAccessor = NULL ; } class dataAccessor { } class relay { public function __get( $name ) { main::$dataAccessor = new dataAccessor; } } class dummy { } main::$dummy = new dummy(); main::$dataAccessor = new relay(); main::$dataAccessor->bar; echo "ok\n"; ?> --EXPECT-- ok
Copyright ©2k19 -
Hexid
|
Tex7ure