Re: PCRE error handling patch
| From: | Andrei Zmievski | Date: | Wed, 12 Apr 2006 16:07:22 +0000 |
| Subject: | Re: PCRE error handling patch | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22720@lists.php.net to get a copy of this message | ||
5.1.4?
-Andrei
On Apr 12, 2006, at 6:05 AM, Ilia Alshanetsky wrote:
No, lets wait with it till the next PHP 5 release. Ilia On 11-Apr-06, at 12:25 PM, Andrei Zmievski wrote:I made a patch (against HEAD currently only) that makes it possible to set runtime limits on backtracking and recursion. It also implements preg_last_error() that lets users check whether there was an execution error (such as limit exceeded or bad UTF-8 or whatever). Ilia, do you think it might make it into 5.1.3? http://www.php.net/~andrei/pcre.diff -Andrei