/
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/bug79599.phpt
--TEST-- Bug #79599 (coredump in set_error_handler) --FILE-- <?php set_error_handler(function($code, $message){ throw new \Exception($message); }); function test1(){ $a[] = $b; } function test2(){ $a[$c] = $b; } try{ test1(); }catch(\Exception $e){ var_dump($e->getMessage()); } try{ test2(); }catch(\Exception $e){ var_dump($e->getMessage()); } ?> --EXPECT-- string(21) "Undefined variable $b" string(21) "Undefined variable $c"
Copyright ©2k19 -
Hexid
|
Tex7ure