From 9bb94d26f8361fd9d4ea382456927d45881036fb Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Thu, 1 Sep 2011 22:42:35 +0000 Subject: [PATCH] revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 --- tests/basic/bug51709_1.phpt | 2 +- tests/basic/bug51709_2.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1