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
> [EMAIL PROTECTED]




-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

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

Reply via email to