From: Xinchen Hui Date: Tue, 14 Aug 2012 06:08:38 +0000 (+0800) Subject: add test for alone try block, and update test scripts summary X-Git-Tag: php-5.5.0alpha1~20^2~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f82be0550b573027b1fb8ef106e7c8efc78878e1;p=php add test for alone try block, and update test scripts summary --- diff --git a/Zend/tests/try_catch_finally_002.phpt b/Zend/tests/try_catch_finally_002.phpt index 94143f6fd1..79efcb3de8 100644 --- a/Zend/tests/try_catch_finally_002.phpt +++ b/Zend/tests/try_catch_finally_002.phpt @@ -1,5 +1,5 @@ --TEST-- -Try catch finally +Try catch finally catch(multi catch blocks) --FILE-- +--EXPECTF-- +Fatal error: Cannot use try without catch or finally in %stry_finally_004.php on line %d