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

This commit is contained in:
Ferenc Kovacs 2011-09-01 22:45:18 +00:00
parent 9bb94d26f8
commit fbb4b70bad

View file

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