summaryrefslogtreecommitdiff
path: root/ext/pcre/tests
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2011-09-04 13:27:19 +0000
committerFerenc Kovacs <tyrael@php.net>2011-09-04 13:27:19 +0000
commit13132206408dc126b02dff8db63f89369beeb4f8 (patch)
tree85919c8cd9b421ce343b81dbaaeea848209bc848 /ext/pcre/tests
parent43e4d8cade7fdb25fa95dbf1e016fe1ef1e9e779 (diff)
downloadphp-git-13132206408dc126b02dff8db63f89369beeb4f8.tar.gz
These regexes don't fail under the new backtrack limit, so lower it just for the test to check the failure.
Diffstat (limited to 'ext/pcre/tests')
-rw-r--r--ext/pcre/tests/006.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/tests/006.phpt b/ext/pcre/tests/006.phpt
index d1282bf426..2d39b6ea38 100644
--- a/ext/pcre/tests/006.phpt
+++ b/ext/pcre/tests/006.phpt
@@ -1,5 +1,7 @@
--TEST--
preg_replace() with array of failing regular expressions
+--INI--
+pcre.backtrack_limit=100000
--FILE--
<?php