diff options
author | Pierre Joye <pajoye@php.net> | 2011-08-31 23:12:35 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2011-08-31 23:12:35 +0000 |
commit | 5d099384237a91061a651f2d988b05fba779ccaf (patch) | |
tree | b3623797e29bff361f90d7b65e0e806c79e0c352 /tests/lang | |
parent | 953b10c59cf6bc816fa0fea7a7101e72208c8971 (diff) | |
download | php-git-5d099384237a91061a651f2d988b05fba779ccaf.tar.gz |
- error msg may vary (parser)
Diffstat (limited to 'tests/lang')
-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 0ca233ea84..8d5cde1943 100644 --- a/tests/lang/bug21820.phpt +++ b/tests/lang/bug21820.phpt @@ -9,5 +9,5 @@ $arr = array('foo' => 'bar'); echo "$arr['foo']"; ?> ---EXPECTREGEX-- -Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? or `?T_NUM_STRING'? in .*bug21820.php on line .* +--EXPECTF-- +Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%s in %sbug21820.php on line %d |