Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36481 invoked by uid 1010); 12 Apr 2006 16:07:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36466 invoked from network); 12 Apr 2006 16:07:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2006 16:07:27 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from ([204.11.219.139:35065] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0F/DB-19715-FB52D344 for ; Wed, 12 Apr 2006 12:07:27 -0400 Received: from [10.9.145.175] (66-240-25-42.isp.comcastbusiness.net [66.240.25.42]) (authenticated bits=0) by lerdorf.com (8.13.6/8.13.6/Debian-1) with ESMTP id k3CG7Or1011633; Wed, 12 Apr 2006 09:07:24 -0700 In-Reply-To: <7B40A186-F20D-435C-8892-CF774A72A513@prohost.org> References: <43e2d0beeea44b0a7a5ab9a0fefc5fb5@gravitonic.com> <7B40A186-F20D-435C-8892-CF774A72A513@prohost.org> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <56968FBA-FE4F-49F7-BD68-79554BC7677B@gravitonic.com> Cc: PHP Internals Content-Transfer-Encoding: 7bit Date: Wed, 12 Apr 2006 09:07:22 -0700 To: Ilia Alshanetsky X-Mailer: Apple Mail (2.749.3) Subject: Re: PCRE error handling patch From: andrei@gravitonic.com (Andrei Zmievski) 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 >> >>