1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/Zend/tests/try/try_finally_011.phpt
2020-02-03 22:52:20 +01:00

16 lines
249 B
PHP

--TEST--
Try finally (segfault with empty break)
--FILE--
<?php
function foo () {
try {
break;
} finally {
}
}
foo();
?>
--EXPECTF--
Fatal error: 'break' not in the 'loop' or 'switch' context in %stry_finally_011.php on line %d