Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53326 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92322 invoked from network); 16 Jun 2011 10:32:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2011 10:32:06 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 74.125.82.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:46945] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/70-23608-3ABD9FD4 for ; Thu, 16 Jun 2011 06:32:05 -0400 Received: by wyb34 with SMTP id 34so1039455wyb.29 for ; Thu, 16 Jun 2011 03:32:01 -0700 (PDT) Received: by 10.216.237.73 with SMTP id x51mr845596weq.16.1308220320922; Thu, 16 Jun 2011 03:32:00 -0700 (PDT) Received: from [10.214.2.62] (host86-189-17-34.range86-189.btcentralplus.com [86.189.17.34]) by mx.google.com with ESMTPS id en1sm27378wbb.35.2011.06.16.03.31.58 (version=SSLv3 cipher=OTHER); Thu, 16 Jun 2011 03:31:59 -0700 (PDT) Message-ID: <4DF9DB9B.40500@lerdorf.com> Date: Thu, 16 Jun 2011 11:31:55 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: Pascal COURTOIS CC: PHP Developers Mailing List References: <8757232E56758B42B2EE4F9D2CA019C9014CE547@US-EX2.zend.net> <8757232E56758B42B2EE4F9D2CA019C9014D10DC@US-EX2.zend.net> <4DF9913B.4030404@nouvo.com> <4DF99EE8.3070204@nouvo.com> <1308216968.2406.3.camel@guybrush> <4DF9D4DF.90405@nouvo.com> In-Reply-To: <4DF9D4DF.90405@nouvo.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) From: rasmus@lerdorf.com (Rasmus) On 06/16/2011 11:03 AM, Pascal COURTOIS wrote: > If you followed the thread you have seen the reduced test case is > VERY short and the ONLY constructions involved are user functions and > exceptions. FULL STOP. Not even a single addition nor a loop nor nothing. > I can't imagine nobody uses user functions and exceptions. You might also consider that your particular case is rather unique. I tried your test case and saw no leak after the request. Everything is freed on request shutdown. That means that for pretty much everyone doing standard short web requests, this style of code would work perfectly for them. -Rasmus