svn: /php/php-src/branches/PHP_5_3/tests/lang/ bug21820.phpt
| From: | Ferenc Kovacs | Date: | Thu, 01 Sep 2011 22:45:18 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/tests/lang/ bug21820.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66140@lists.php.net to get a copy of this message | ||
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 .*