diff options
-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 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 .* |