Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17812 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20922 invoked by uid 1010); 10 Aug 2005 23:30:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20906 invoked from network); 10 Aug 2005 23:30:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2005 23:30:56 -0000 X-Host-Fingerprint: 85.92.69.73 iko.gotobg.net Linux 2.4/2.6 Received: from ([85.92.69.73:55485] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 51/B9-24081-F2E8AF24 for ; Wed, 10 Aug 2005 19:30:56 -0400 Received: from p54accf90.dip.t-dialin.net ([84.172.207.144] helo=[192.168.2.55]) by iko.gotobg.net with esmtpa (Exim 4.50) id 1E302E-00079M-0i for internals@lists.php.net; Thu, 11 Aug 2005 02:30:58 +0300 Message-ID: <42FA8E1C.60405@hristov.com> Date: Thu, 11 Aug 2005 01:30:36 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050219 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: [PATCH] debug_get_object_handle From: php@hristov.com (Andrey Hristov) Hi all, I have cooked a patch that adds a function named debug_get_object_handle() which returns the handle id of an object. Having a function like this makes devs' live easier - no need to parse the output of var_dump(). The patch is available here: http://hristov.com/andrey/projects/php_stuff/patches/debug_get_object_handle.patch If there are no objections I would like to commit it to 5_0 (this don't break anything) and 5_1. Thanks! Andrey