Browse Source

- error msg may vary (parser)

pull/7/head
Pierre Joye 15 years ago
parent
commit
e44ad565f0
  1. 2
      tests/lang/bug21820.phpt

2
tests/lang/bug21820.phpt

@ -10,4 +10,4 @@ echo "$arr['foo']";
?>
--EXPECTF--
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
Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%s in %sbug21820.php on line %d
Loading…
Cancel
Save