Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16591 invoked from network); 9 Sep 2008 01:18:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2008 01:18:38 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.230 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.198.230 rv-out-0506.google.com Received: from [209.85.198.230] ([209.85.198.230:10051] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/50-14433-DEEC5C84 for ; Mon, 08 Sep 2008 21:18:37 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1614633rvb.23 for ; Mon, 08 Sep 2008 18:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2uZqzB5iCKxXcHBNMbq1VOHkubfHFIFxHpMDFtatqGI=; b=dKAoqsysA7OIavo+hIAyMthM2UgxQLnuukjO1zCTSWKq3dl9dbKo8hYBeXZNTfn/8j vjhXAfxcNZ+0z+AHMMsFCut38ESjdzFmdH0S+k/flLYrD0WSxBmIIBpIz9N/iiIFbAsc DE3zvODmBsICPAvgThJOgKM3xqwAP1SoClZMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=gOS/8qFWwns/qjr0a+S+RM2u5CI0C60gIEHSSify7r1HI/Bh4WsKftCbx/qZyPC3kl fWKjLiP1/HRXA2JJksHBZNdJNcWvgBGXkI3zPtFkMCj8kq/BIPO4K/55/BJO7dEEhpAq EDljuYLne5MgDiiBL51PBVCo/ebUiR23JHfWY= Received: by 10.141.211.13 with SMTP id n13mr9327741rvq.12.1220923114592; Mon, 08 Sep 2008 18:18:34 -0700 (PDT) Received: by 10.141.63.14 with HTTP; Mon, 8 Sep 2008 18:18:34 -0700 (PDT) Message-ID: Date: Mon, 8 Sep 2008 22:18:34 -0300 To: "Stanislav Malyshev" Cc: "PHP Internals" In-Reply-To: <48C5CDF8.3060108@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48C5CDF8.3060108@zend.com> Subject: Re: [PHP-DEV] Suggestion to increase the max_input_nesting_level From: guilhermeblanco@gmail.com ("Guilherme Blanco") Each grammar rule may forward calls and subsequent things to build itself. So, ConditionalExpression may forward a call and later call itself again and again, etc. At last, the number of nested function calls can easily reach 100. If you need an example... I can spend some time on it to highlight to you. Regards, On Mon, Sep 8, 2008 at 10:14 PM, Stanislav Malyshev wrote: > Hi! > >> Currently I'm working on the compiler, which has this BNF: >> http://trac.doctrine-project.org/browser/trunk/query-language.txt >> I've done a lot of optimizations to be able to not touch the default >> nesting input level, but doing that I added a lot of restrictions that >> now are my bottlenecks. > > I'm not sure I understand - how this compiler is related to input nesting > level? What exactly you do there that requires 150+ levels of nesting on > input? > > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com http://www.zend.com/ > (408)253-8829 MSN: stas@zend.com > -- Guilherme Blanco - Web Developer CBC - Certified Bindows Consultant Cell Phone: +55 (16) 9166-6902 MSN: guilhermeblanco@hotmail.com URL: http://blog.bisna.com Rio de Janeiro - RJ/Brazil