xref: /PHP-5.6/Zend/tests/try_finally_004.phpt (revision 60a29791)
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