rasmus Sun, 12 Jun 2011 18:38:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312110
Log:
These regexes don't fail under the new backtrack limit, so lower it
just for the test to check the failure.
Changed paths:
U php/php-src/branches/PHP_5_4/ext/pcre/tests/006.phpt
U php/php-src/trunk/ext/pcre/tests/006.phpt
Modified: php/php-src/branches/PHP_5_4/ext/pcre/tests/006.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pcre/tests/006.phpt 2011-06-12
17:26:45 UTC (rev 312109)
+++ php/php-src/branches/PHP_5_4/ext/pcre/tests/006.phpt 2011-06-12
18:38:26 UTC (rev 312110)
@@ -1,5 +1,7 @@
--TEST--
preg_replace() with array of failing regular expressions
+--INI--
+pcre.backtrack_limit=100000
--FILE--
<?php
Modified: php/php-src/trunk/ext/pcre/tests/006.phpt
===================================================================
--- php/php-src/trunk/ext/pcre/tests/006.phpt 2011-06-12 17:26:45 UTC (rev
312109)
+++ php/php-src/trunk/ext/pcre/tests/006.phpt 2011-06-12 18:38:26 UTC (rev
312110)
@@ -1,5 +1,7 @@
--TEST--
preg_replace() with array of failing regular expressions
+--INI--
+pcre.backtrack_limit=100000
--FILE--
<?php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php