/
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/bug63206.phpt
--TEST-- Bug #63206 Fully support error_handler stacking, even inside the error_handler --FILE-- <?php set_error_handler(function() { echo 'First handler' . PHP_EOL; }); set_error_handler(function() { echo 'Second handler' . PHP_EOL; set_error_handler(function() { echo 'Internal handler' . PHP_EOL; }); $triggerInternalNotice++; // warnings while handling the error should go into internal handler restore_error_handler(); }); $triggerNotice1++; $triggerNotice2++; ?> --EXPECT-- Second handler Internal handler Second handler Internal handler
Copyright ©2k19 -
Hexid
|
Tex7ure