/
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/bug72188.phpt
--TEST-- Bug #72188 (Nested try/finally blocks losing return value) --FILE-- <?php function test() { try { return 5; } finally { try { echo 1; } finally { echo 2; } } } $a = test(); if($a !== 5) { echo "FAILED: expected 5, received ", var_export($a), PHP_EOL; } else { echo "Passed", PHP_EOL; } ?> --EXPECT-- 12Passed
Copyright ©2k19 -
Hexid
|
Tex7ure