xref: /php-src/Zend/tests/try/try_finally_004.phpt (revision 25d327e5)
1--TEST--
2Try finally (without catch/finally block)
3--FILE--
4<?php
5function foo () {
6   try {
7        echo "3";
8   }
9}
10
11foo();
12?>
13--EXPECTF--
14Fatal error: Cannot use try without catch or finally in %stry_finally_004.php on line %d
15