Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15097 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69956 invoked by uid 1010); 18 Feb 2005 18:14:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69940 invoked from network); 18 Feb 2005 18:14:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2005 18:14:40 -0000 X-Host-Fingerprint: 83.97.50.139 jan.prima.de FreeBSD 4.6-4.9 Received: from ([83.97.50.139:1999] helo=jan.prima.de) by pb1.pair.com (ecelerity 1.2 (r4437)) with SMTP id F0/D0-40085-D8036124 for ; Fri, 18 Feb 2005 13:14:38 -0500 Received: from BAUMBART (p508EBCB7.dip.t-dialin.net [::ffff:80.142.188.183]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Fri, 18 Feb 2005 18:14:34 +0000 Date: Fri, 18 Feb 2005 19:14:27 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1747497446.20050218191427@marcus-boerger.de> To: Antony Dovgal CC: php-dev In-Reply-To: <20050218170535.243fee54.antony@zend.com> References: <20050218170535.243fee54.antony@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [patch] bug #29210 is_callable - no support for private and protected classes From: helly@php.net (Marcus Boerger) Hello Antony, there is no need to fetch the instance (or create a temporairy one) since the function table is bound to the class rather then the instance. This is the major difference between real object oriented (sometimes referred to as prototype based like java script for instance) and class based. regards marcus Friday, February 18, 2005, 3:05:35 PM, you wrote: > Hi all! > Any volunteers to review & commit patch for #29210 ? > Fresh diff against latest HEAD: > http://tony2001.phpclub.net/dev/tmp/is_callable_HEAD.diff > The patch adds support of protected/private methods to is_callable(), > taking care of the context. > test file: > http://tony2001.phpclub.net/dev/tmp/is_callable.phpt > x-posted to #php.bugs =) > -- > Wbr, > Antony Dovgal aka tony2001 > antony@zend.com -- Best regards, Marcus mailto:helly@php.net