Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68793 invoked from network); 16 Jun 2011 07:56:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2011 07:56:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.133 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.133 smtp133.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.133] ([67.192.241.133:58057] helo=smtp133.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/BA-24246-E37B9FD4 for ; Thu, 16 Jun 2011 03:56:47 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp13.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id A80BA3D03A1; Thu, 16 Jun 2011 03:56:43 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp13.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 4FB4A3D0656; Thu, 16 Jun 2011 03:56:43 -0400 (EDT) Message-ID: <4DF9B73A.90107@sugarcrm.com> Date: Thu, 16 Jun 2011 00:56:42 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 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> <4DF99368.2040508@sugarcrm.com> <4DF99949.1070601@nouvo.com> <4DF99E50.8040704@sugarcrm.com> <4DF9A4E7.5090605@nouvo.com> In-Reply-To: <4DF9A4E7.5090605@nouvo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Give the Language a Rest motion (fwd) From: smalyshev@sugarcrm.com (Stas Malyshev) On 6/15/11 11:38 PM, Pascal COURTOIS wrote: > as I said earlier, test case was reduced to: The leaks you'll be seeing in this code is probably caused by the fact that main function (i.e. global context) is not destroyed when exit() is called, since . It can be argued as a bug, but very minor one and totally unlikely to cause any problems both because the leak is minuscule and the fact that memory manager will clean it up anyway on shutdown. I would have very hard time believing this very short-time leak can cause any problems in any production code. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227