From: Marcus Boerger Date: Sat, 29 Nov 2003 12:51:37 +0000 (+0000) Subject: Research reveals that the error text depends on the tools and their X-Git-Tag: php-5.0.0b3RC1~541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af3f48b7e10345cd6708874dd4fd9b25eaf94828;p=php Research reveals that the error text depends on the tools and their versions used to create the language parser. --- diff --git a/tests/lang/bug21820.phpt b/tests/lang/bug21820.phpt index 61b8c8760a..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: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' 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 .*