Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42712 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87681 invoked from network); 19 Jan 2009 21:07:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2009 21:07:27 -0000 Authentication-Results: pb1.pair.com header.from=shire@tekrat.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=shire@tekrat.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain tekrat.com from 69.63.177.213 cause and error) X-PHP-List-Original-Sender: shire@tekrat.com X-Host-Fingerprint: 69.63.177.213 sizzo.org Linux 2.6 Received: from [69.63.177.213] ([69.63.177.213:48897] helo=sizzo.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/3B-60519-E8BE4794 for ; Mon, 19 Jan 2009 16:07:26 -0500 Received: from 173-116-86-149.pools.spcsdns.net (173-116-86-149.pools.spcsdns.net [173.116.86.149]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by sizzo.org (Postfix) with ESMTPSA id A4B626D4953; Mon, 19 Jan 2009 13:07:21 -0800 (PST) Message-ID: <4974EB88.9020804@tekrat.com> Date: Mon, 19 Jan 2009 13:07:20 -0800 User-Agent: Postbox 1.0b3 (Macintosh/2009011516) MIME-Version: 1.0 To: Stanislav Malyshev CC: PHP Internals List References: <4973DB36.3010703@tekrat.com> <4974C4DE.3040203@zend.com> In-Reply-To: <4974C4DE.3040203@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PATCH: zend_mm_heap_overflow() From: shire@tekrat.com (shire) Stanislav Malyshev wrote: > Hi! > >> I'm releasing an extended PHP logging extension that we currently use >> at facebook with much success. I currently use a small patch to >> determine if a memory overflow has occurred as there's currently no >> direct access into the allocator structures. You can get more >> information on the project at http://tekrat.com/php/xlog/. > > Maybe just make AG() exported? Yes, I like this idea better as it's more flexible but I wasn't sure if we wanted that much visibility into the global variables of the allocator. I suppose though, as with other things of this nature, if you're mucking with this data then you should be doing so at your own risk etc. ;-) -shire