From: Ferenc Kovacs Date: Thu, 1 Sep 2011 22:45:18 +0000 (+0000) Subject: revert to the previous good revision, as the new improved parse error syntax only... X-Git-Tag: php-5.3.9RC1~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbb4b70badffda30f8d72242a520b51f153f18d4;p=php revert to the previous good revision, as the new improved parse error syntax only used in version >= 5.4 --- 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 .*