Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27488 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32134 invoked by uid 1010); 16 Jan 2007 20:27:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32119 invoked from network); 16 Jan 2007 20:27:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2007 20:27:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=evert@filemobile.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=evert@filemobile.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain filemobile.com from 66.207.192.7 cause and error) X-PHP-List-Original-Sender: evert@filemobile.com X-Host-Fingerprint: 66.207.192.7 smtp0.beanfield.net FreeBSD 4.6-4.9 Received: from [66.207.192.7] ([66.207.192.7:2955] helo=smtp0.beanfield.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0A/16-05231-9453DA54 for ; Tue, 16 Jan 2007 15:27:53 -0500 Received: from [206.223.184.72] (206-223-184-72.beanfield.net [206.223.184.72]) by smtp0.beanfield.net (8.13.4/8.12.11) with ESMTP id l0GKPQSo018139; Tue, 16 Jan 2007 15:25:26 -0500 (EST) (envelope-from evert@filemobile.com) Message-ID: <45AD3537.7000802@filemobile.com> Date: Tue, 16 Jan 2007 15:27:35 -0500 Reply-To: evert@filemobile.com User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Marcus Boerger CC: Michael Wallner , internals@lists.php.net References: <287851093.20070115233131@marcus-boerger.de> <4E.F2.17729.56F7CA54@pb1.pair.com> <462213781.20070116201924@marcus-boerger.de> In-Reply-To: <462213781.20070116201924@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] Help debugging overloaded objects From: evert@filemobile.com (Evert | FileMobile) Ignore this message if it doesn't make sense.. wouldn't this essentially be the same as __toArray() ? Evert Marcus Boerger wrote: > Hello Michael, > > ok current name and other options in one list: > > 1) get_debug_info() > 2) get_debug_hash() > 3) get_dump_vars() > 4) get_dump_hash() > > does this list contain anythign you like? > > best regards > marcus > > Tuesday, January 16, 2007, 8:32:41 AM, you wrote: > > >> Marcus Boerger wrote: >> >>> Hello internals, >>> >>> the attached patch introduces a new handler to the engine that is >>> supposed to help debugging overloaded objects. It allows to return a >>> temporary hash rather then the object properties. This way an extension >>> can show non properties in var_dump() and print_r(). It will be used >>> in extensions like SimpleXML. To show how it will look like the changes >>> for said extension are alsopresent. Last but not least the handler can >>> be NULL in which case the old behavior is maintained. If noone objects >>> I will commit this by the end of the week. >>> >>> Any comments? >>> > > >> A strong +1 from me. Though, I don't like the name of the handler... >> > > >> Regards, >> -- >> Michael >> > > > > > Best regards, > Marcus > >