]> granicus.if.org Git - php/commitdiff
revert to the previous good revision, as the new improved parse error syntax only...
authorFerenc Kovacs <tyrael@php.net>
Thu, 1 Sep 2011 22:42:35 +0000 (22:42 +0000)
committerFerenc Kovacs <tyrael@php.net>
Thu, 1 Sep 2011 22:42:35 +0000 (22:42 +0000)
tests/basic/bug51709_1.phpt
tests/basic/bug51709_2.phpt

index 19d298ad7d42d8af89755f564d0d123b0988d01a..8abb92555d7828b50d83fa87a8b772ff9428c152 100644 (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
index c5e904df8307ac9c2777170f9d0bc561dc1e75c4..7763cafe523994dc674c480ee47a53816804e867 100644 (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