Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22733 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30517 invoked by uid 1010); 13 Apr 2006 13:46:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30501 invoked from network); 13 Apr 2006 13:46:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 13:46:08 -0000 Received: from ([127.0.0.1:14604]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 52/95-19715-F165E344 for ; Thu, 13 Apr 2006 09:46:07 -0400 X-Host-Fingerprint: 64.233.162.205 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.205:10505] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8B/D1-19715-62BFC344 for ; Wed, 12 Apr 2006 09:05:42 -0400 Received: by zproxy.gmail.com with SMTP id z31so1322439nzd for ; Wed, 12 Apr 2006 06:05:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=DAlrcy67YAtycFabjuenY4Gvi+h0n6UyB/PdfZjbMP068IN8YmzYlgYaP8hPcRB0/4aTYnTu4CeBu759zIGMPlKJUvu/TRXlxE82amrwVPMx//I/cFDdgnIWaLvytLqXvxMFPGOm0iHRsXAD/TO0igbKrOBwSEf3DqrLLbg4K3I= Received: by 10.36.36.6 with SMTP id j6mr463055nzj; Wed, 12 Apr 2006 06:05:39 -0700 (PDT) Received: from ?10.0.0.180? ( [216.43.50.24]) by mx.gmail.com with ESMTP id 17sm715468nzo.2006.04.12.06.05.38; Wed, 12 Apr 2006 06:05:39 -0700 (PDT) In-Reply-To: <43e2d0beeea44b0a7a5ab9a0fefc5fb5@gravitonic.com> References: <43e2d0beeea44b0a7a5ab9a0fefc5fb5@gravitonic.com> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <7B40A186-F20D-435C-8892-CF774A72A513@prohost.org> Cc: PHP Internals Content-Transfer-Encoding: 7bit Date: Wed, 12 Apr 2006 07:05:38 -0600 To: Andrei Zmievski X-Mailer: Apple Mail (2.749.3) Sender: Ilia Alshanetsky Subject: Re: PCRE error handling patch From: ilia@prohost.org (Ilia Alshanetsky) 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 > >