Re: [patch] bug #29210 is_callable - no support for private and protected classes

From: Date: Fri, 18 Feb 2005 18:14:27 +0000
Subject: Re: [patch] bug #29210 is_callable - no support for private and protected classes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15097@lists.php.net to get a copy of this message
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

« previous php.internals (#15097) next »