|| at Feb 20, 2005 at 4:45 pm
On Thu, 17 Feb 2005 10:15:10 -0800 Andi Gutmans wrote:
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.
Antony Dovgal aka tony2001