Browse Source

revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4

pull/12/head
Ferenc Kovacs 15 years ago
parent
commit
fbb4b70bad
  1. 4
      tests/lang/bug21820.phpt

4
tests/lang/bug21820.phpt

@ -9,5 +9,5 @@ $arr = array('foo' => 'bar');
echo "$arr['foo']";
?>
--EXPECTF--
Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%s in %sbug21820.php on line %d
--EXPECTREGEX--
Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? or `?T_NUM_STRING'? in .*bug21820.php on line .*
Loading…
Cancel
Save