note 105122 deleted from function.preg-replace by crell
| From: | crell@php.net | Date: | Fri, 01 Jul 2022 19:46:57 +0000 |
| Subject: | note 105122 deleted from function.preg-replace by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218854@lists.php.net to get a copy of this message | ||
Note Submitter: timitheenchanter
----
If you have issues where preg_replace returns an empty string, please take a look at these two ini
parameters:
pcre.backtrack_limit
pcre.recursion_limit
The default is set to 100K. If your buffer is larger than this, look to increase these two values.