revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4

This commit is contained in:
Ferenc Kovacs 2011-09-01 22:42:35 +00:00
parent ec4eb7ab17
commit 9bb94d26f8
2 changed files with 2 additions and 2 deletions

View file

@ -13,4 +13,4 @@ class foo {
===DONE===
<?php exit(0); ?>
--EXPECTF--
Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier (T_STRING) in %sbug51709_1.php on line %d
Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d

View file

@ -13,4 +13,4 @@ class foo {
===DONE===
<?php exit(0); ?>
--EXPECTF--
Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier (T_STRING) in %sbug51709_2.php on line %d
Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d