From: Ferenc Kovacs Date: Thu, 1 Sep 2011 22:42:35 +0000 (+0000) Subject: revert to the previous good revision, as the new improved parse error syntax only... X-Git-Tag: php-5.3.9RC1~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bb94d26f8361fd9d4ea382456927d45881036fb;p=php revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 --- diff --git a/tests/basic/bug51709_1.phpt b/tests/basic/bug51709_1.phpt index 19d298ad7d..8abb92555d 100644 --- a/tests/basic/bug51709_1.phpt +++ b/tests/basic/bug51709_1.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== --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 diff --git a/tests/basic/bug51709_2.phpt b/tests/basic/bug51709_2.phpt index c5e904df83..7763cafe52 100644 --- a/tests/basic/bug51709_2.phpt +++ b/tests/basic/bug51709_2.phpt @@ -13,4 +13,4 @@ class foo { ===DONE=== --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