mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4
This commit is contained in:
parent
ec4eb7ab17
commit
9bb94d26f8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue