cvs: php-src(PHP_5_3) / run-tests.php
| From: | Nuno Lopes | Date: | Tue, 08 Jul 2008 18:18:08 +0000 |
| Subject: | cvs: php-src(PHP_5_3) / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50925@lists.php.net to get a copy of this message | ||
nlopess Tue Jul 8 18:18:08 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src run-tests.php
Log:
increase pcre.backtrack_limit so that the phpinfo.phpt test passes on my computer.
we should really consider increase the default of this limit.. (but not the recursion one though)
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.35.2.28&r2=1.226.2.37.2.35.2.29&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.35.2.28 php-src/run-tests.php:1.226.2.37.2.35.2.29
--- php-src/run-tests.php:1.226.2.37.2.35.2.28 Wed Jul 2 15:00:21 2008
+++ php-src/run-tests.php Tue Jul 8 18:18:08 2008
@@ -24,7 +24,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.226.2.37.2.35.2.28 2008/07/02 15:00:21 ohill Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.35.2.29 2008/07/08 18:18:08 nlopess Exp $ */
/* Sanity check to ensure that pcre extension needed by this script is available.
* In the event it is not, print a nice error message indicating that this script will
@@ -76,6 +76,8 @@
$cwd = getcwd();
set_time_limit(0);
+ini_set('pcre.backtrack_limit', PHP_INT_MAX);
+
$valgrind_version = 0;
$valgrind_header = '';
@@ -447,7 +449,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.226.2.37.2.35.2.28 $'."\n";
+ echo '$Revision: 1.226.2.37.2.35.2.29 $'."\n";
exit(1);
case 'u':