mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4
This commit is contained in:
parent
9bb94d26f8
commit
fbb4b70bad
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue