Fixed testing failed

This commit is contained in:
Xinchen Hui 2011-08-30 12:11:03 +00:00
parent 3c1874143c
commit 1f3536a019
3 changed files with 3 additions and 3 deletions

View 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 "for (T_FOR)", expecting "identifier (T_STRING)" in %sbug51709_1.php on line %d

View 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 "goto (T_GOTO)", expecting "identifier (T_STRING)" in %sbug51709_2.php on line %d

View file

@ -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