Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67432 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81345 invoked from network); 16 May 2013 09:40:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2013 09:40:43 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.91 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.91 smtp91.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.91] ([108.166.43.91:53744] helo=smtp91.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/F1-01984-A99A4915 for ; Thu, 16 May 2013 05:40:43 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 11BB4140217; Thu, 16 May 2013 05:40:40 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id B4376140178; Thu, 16 May 2013 05:40:39 -0400 (EDT) Message-ID: <5194A997.3080304@sugarcrm.com> Date: Thu, 16 May 2013 02:40:39 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: peter wang CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Memory leak in include()/require() ? From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > hi, did anyone come across the memory leak of require()/include(), > I just saw this bug report: https://bugs.php.net/bug.php?id=47038, > but it was closed with nothing explained. This bug report was closed because the bug it describes was fixed. It is explained so right on the bug page. > the php version I used: > > php --version > PHP 5.3.6-13ubuntu3.9 with Suhosin-Patch (cli) (built: Sep 12 2012 19:00:27) > Copyright (c) 1997-2011 The PHP Group > Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies If you see the memory leak with current version (5.4.15/5.3.25) please submit a bug report containing the reproduction script and what happens when you run it. See the guidelines here: https://bugs.php.net/how-to-report.php -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227