]> granicus.if.org Git - php/commitdiff
These regexes don't fail under the new backtrack limit, so lower it
authorRasmus Lerdorf <rasmus@php.net>
Sun, 12 Jun 2011 18:38:26 +0000 (18:38 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 12 Jun 2011 18:38:26 +0000 (18:38 +0000)
just for the test to check the failure.

ext/pcre/tests/006.phpt

index d1282bf426e3c85b8e068a46d21ab42cd5948313..2d39b6ea385e5a7fd216a09a857dfaeaed050ee9 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 preg_replace() with array of failing regular expressions
+--INI--
+pcre.backtrack_limit=100000
 --FILE--
 <?php