/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
try
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/try/bug72213.phpt
--TEST-- Bug #72213 (Finally leaks on nested exceptions) --FILE-- <?php function test() { try { throw new Exception('a'); } finally { try { throw new Exception('b'); } finally { } } } try { test(); } catch (Exception $e) { var_dump($e->getMessage()); var_dump($e->getPrevious()->getMessage()); } ?> --EXPECT-- string(1) "b" string(1) "a"
Copyright ©2k19 -
Hexid
|
Tex7ure