diff --git a/tests/basic/bug51709_1.phpt b/tests/basic/bug51709_1.phpt index 19d298ad7d4..e80e08ac735 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 "for (T_FOR)", expecting "identifier (T_STRING)" in %sbug51709_1.php on line %d diff --git a/tests/basic/bug51709_2.phpt b/tests/basic/bug51709_2.phpt index c5e904df830..49b7fd28dad 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 "goto (T_GOTO)", expecting "identifier (T_STRING)" in %sbug51709_2.php on line %d diff --git a/tests/lang/bug21820.phpt b/tests/lang/bug21820.phpt index b862309e311..603416d9cdb 100644 --- a/tests/lang/bug21820.phpt +++ b/tests/lang/bug21820.phpt @@ -10,4 +10,4 @@ echo "$arr['foo']"; ?> --EXPECTF-- -Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in %sbug21820.php on line %d +Parse error: syntax error, unexpected "quoted-string and whitespace (T_ENCAPSED_AND_WHITESPACE)", expecting "identifier (T_STRING)" or "variable (T_VARIABLE)" or "number (T_NUM_STRING)" in %sbug21820.php on line %d