On Thu, 17 Feb 2005 10:15:10 -0800
Andi Gutmans <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to