Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3296 invoked by uid 1010); 16 Jan 2007 19:19:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3281 invoked from network); 16 Jan 2007 19:19:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2007 19:19:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 81.169.182.136 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from [81.169.182.136] ([81.169.182.136:44950] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/C2-05231-8352DA54 for ; Tue, 16 Jan 2007 14:19:21 -0500 Received: from baumbart.mbo (dslb-084-063-029-203.pools.arcor-ip.net [84.63.29.203]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 2F5D935C1E0; Tue, 16 Jan 2007 20:19:18 +0100 (CET) Date: Tue, 16 Jan 2007 20:19:24 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <462213781.20070116201924@marcus-boerger.de> To: Michael Wallner Cc: internals@lists.php.net In-Reply-To: <4E.F2.17729.56F7CA54@pb1.pair.com> References: <287851093.20070115233131@marcus-boerger.de> <4E.F2.17729.56F7CA54@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] Help debugging overloaded objects From: helly@php.net (Marcus Boerger) 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