summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2011-09-01 22:42:35 +0000
committerFerenc Kovacs <tyrael@php.net>2011-09-01 22:42:35 +0000
commit9bb94d26f8361fd9d4ea382456927d45881036fb (patch)
tree08336940ccf25e2d8ebe5ad63c98c81baf7cc2fd /tests
parentec4eb7ab17f2635e6c44d500b11278a1bcc00ac2 (diff)
downloadphp-git-9bb94d26f8361fd9d4ea382456927d45881036fb.tar.gz
revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/bug51709_1.phpt2
-rw-r--r--tests/basic/bug51709_2.phpt2
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===
<?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
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===
<?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