mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user