php-src/Zend/tests/try_finally_011.phpt
2014-07-19 15:30:50 +08:00

16 lines
218 B
PHP

--TEST--
Try finally (segfault with empty break)
--FILE--
<?php
function foo () {
try {
break;
} finally {
}
}
foo();
?>
--EXPECTF--
Fatal error: Cannot break/continue 1 level in %stry_finally_011.php on line %d