Grokbase Groups PHP php-cvs June 2011
FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-cvs @
categoriesphp
postedJun 12, '11 at 6:38p
activeJun 12, '11 at 6:38p
posts1
users1
websitephp.net

1 user in discussion

Rasmus Lerdorf: 1 post

People

Translate

site design / logo © 2018 Grokbase