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

From: Date: Sun, 20 Feb 2005 16:44:14 +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-15126@lists.php.net to get a copy of this message
On Thu, 17 Feb 2005 10:15:10 -0800 Andi Gutmans <andi@zend.com> wrote: > Hi Antony, > > We have too many places that manually check access restrictions at > this point. I would like to generalize it and use that in all places, > and make it easier to fix problems like your patch does. Haven't had > the time yet to dive deeply into it and see what the right way would > be. For example, we have similar code in zend_std_get_method(). > > If you have any good ideas of how we can generalize it email me. As far as I can see zend_std_get_method() uses different semantics and zend_is_callable() is used for more general kind of checks. We can of course divide zend_is_callable() into several functions, but it would just add more mess IMO. -- Wbr, Antony Dovgal aka tony2001 antony@zend.com

« previous php.internals (#15126) next »