Re: [patch] bug #29210 is_callable - no support for private and protected classes
| From: | Antony Dovgal | Date: | Sun, 20 Feb 2005 16:39:34 +0000 |
| Subject: | Re: [patch] bug #29210 is_callable - no support for private and protected classes | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15125@lists.php.net to get a copy of this message | ||
On Fri, 18 Feb 2005 19:14:27 +0100
Marcus Boerger <helly@php.net> wrote:
> 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.
Yeah, thanks for the hint, Marcus.
Here is new version of the patch:
http://tony2001.phpclub.net/dev/tmp/is_callable_new.diff
--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com