/
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/bug65051.phpt
--TEST-- Bug #65051: count() off by one inside unset() --FILE-- <?php class Foo { public $array; public function __destruct() { var_dump(count($this->array[0])); var_dump($this->array[0]); } } $array = [[new Foo]]; $array[0][0]->array =& $array; unset($array[0][0]); ?> --EXPECT-- int(0) array(0) { }
Copyright ©2k19 -
Hexid
|
Tex7ure