]> granicus.if.org Git - php/commitdiff
revert to the previous good revision, as the new improved parse error syntax only...
authorFerenc Kovacs <tyrael@php.net>
Thu, 1 Sep 2011 22:45:18 +0000 (22:45 +0000)
committerFerenc Kovacs <tyrael@php.net>
Thu, 1 Sep 2011 22:45:18 +0000 (22:45 +0000)
tests/lang/bug21820.phpt

index 8d5cde1943cf974bc823c2ea9afbf7df8188ecca..0ca233ea84113c7a6905f6c2521ce2f34b738fe4 100644 (file)
@@ -9,5 +9,5 @@ $arr = array('foo' => 'bar');
 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 .*