php-parser/test/code/parser/stmt/tryCatch.test-fail
nikic ae3774f0f2 Add support for finally clauses (PHP 5.5)
This adds a new finallyStmts subnode to the TryCatch node. If there is
no finally clause it will be null.
2012-09-07 23:41:56 +02:00

7 lines
116 B
Plaintext

Cannot use try without catch or finally
-----
<?php
try { }
-----
Cannot use try without catch or finally on line 3