]> granicus.if.org Git - php/commitdiff
Research reveals that the error text depends on the tools and their
authorMarcus Boerger <helly@php.net>
Sat, 29 Nov 2003 12:51:37 +0000 (12:51 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 29 Nov 2003 12:51:37 +0000 (12:51 +0000)
versions used to create the language parser.

tests/lang/bug21820.phpt

index 61b8c8760a21e350dad801871d662451e2ada9b0..0ca233ea84113c7a6905f6c2521ce2f34b738fe4 100644 (file)
@@ -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 %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 .*