You just made the exact opposite of what you wanted to achieve. If you can't
test with both versions then please don't touch that part...
On Sep 2, 2011 12:45 AM, "Ferenc Kovacs" <tyr...@php.net> wrote:
> tyrael Thu, 01 Sep 2011 22:45:18 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=316015
>
> Log:
> revert to the previous good revision, as the new improved parse error
syntax only used in version >= 5.4
>
> Changed paths:
> U php/php-src/branches/PHP_5_3/tests/lang/bug21820.phpt
>
> Modified: php/php-src/branches/PHP_5_3/tests/lang/bug21820.phpt
> ===================================================================
> --- php/php-src/branches/PHP_5_3/tests/lang/bug21820.phpt 2011-09-01
22:43:24 UTC (rev 316014)
> +++ php/php-src/branches/PHP_5_3/tests/lang/bug21820.phpt 2011-09-01
22:45:18 UTC (rev 316015)
> @@ -9,5 +9,5 @@
> 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 .*
>

Reply via email to