From: Marcus Boerger Date: Fri, 2 May 2003 23:27:46 +0000 (+0000) Subject: Fix test X-Git-Tag: php-4.3.2RC3~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=825c107f2b78697a672816ad930066a680130d6d;p=php Fix test --- diff --git a/tests/lang/bug21820.phpt b/tests/lang/bug21820.phpt index 0fd2fc005e..bf1d46563a 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 %s on line %d +--EXPECTREGEX-- +Parse error: parse error,.*expecting `?T_STRING'? or `?T_VARIABLE'? or `?T_NUM_STRING'? in .* on line .*