From 9fd60c9e57d6f922831235beaca56d6210e2a18c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 20 Sep 2019 22:06:40 +0000 Subject: [PATCH] Docs: Update a comment about `pcre.backtrack_limit` upper limit in `benchmark_pcre_backtracking()`. See #48074. git-svn-id: https://develop.svn.wordpress.org/trunk@46215 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/utils.php b/tests/phpunit/includes/utils.php index 9a03250f6a..4f67185ea3 100644 --- a/tests/phpunit/includes/utils.php +++ b/tests/phpunit/includes/utils.php @@ -465,7 +465,7 @@ class WpdbExposedMethodsForTesting extends wpdb { function benchmark_pcre_backtracking( $pattern, $subject, $strategy ) { $saved_config = ini_get( 'pcre.backtrack_limit' ); - // Attempt to prevent PHP crashes. Adjust these lower when needed. + // Attempt to prevent PHP crashes. Adjust lower when needed. $limit = 1000000; // Start with small numbers, so if a crash is encountered at higher numbers we can still debug the problem.