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
This commit is contained in:
Sergey Biryukov 2019-09-20 22:06:40 +00:00
parent 099adc0243
commit 9fd60c9e57
1 changed files with 1 additions and 1 deletions

View File

@ -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.