diff options
author | Ferenc Kovacs <tyrael@php.net> | 2011-09-01 22:45:18 +0000 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2011-09-01 22:45:18 +0000 |
commit | fbb4b70badffda30f8d72242a520b51f153f18d4 (patch) | |
tree | 127779591f468f9729e097929079a32cb3605d75 /tests | |
parent | 9bb94d26f8361fd9d4ea382456927d45881036fb (diff) | |
download | php-git-fbb4b70badffda30f8d72242a520b51f153f18d4.tar.gz |
revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/bug21820.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lang/bug21820.phpt b/tests/lang/bug21820.phpt index 8d5cde1943..0ca233ea84 100644 --- a/tests/lang/bug21820.phpt +++ b/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 .* |