/
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/bug71604_3.phpt
--TEST-- Bug #71604: Aborted Generators continue after nested finally (3) --FILE-- <?php function gen() { try { throw new Exception(1); } finally { try { yield; } finally { try { throw new Exception(2); } finally { } } } } try { gen()->rewind(); } catch (Exception $e) { echo $e, "\n"; } ?> --EXPECTF-- Exception: 1 in %s:%d Stack trace: #0 [internal function]: gen() #1 %s(%d): Generator->rewind() #2 {main} Next Exception: 2 in %s:%d Stack trace: #0 %s(%d): gen() #1 {main}
Copyright ©2k19 -
Hexid
|
Tex7ure