Re: is_a() calls in PEAR.php
| From: | Michael Wallner | Date: | Fri, 07 May 2004 11:10:28 +0000 |
| Subject: | Re: is_a() calls in PEAR.php | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28947@lists.php.net to get a copy of this message | ||
Hi Alan Knowles, you wrote:
> as PHP has very strange behaviour when calling static methods it's the
> only half reliable way of checking for static methods.
[...]
> The history of this goes back to the fact that static methods (and the
> :: syntax was introduced originally so that parent:: worked. )
>
> The general consensus is that this behavior may go away some day.. - but
> AFAIK it still happens in PHP5, if you look at the zend engine, it adds
> a bit of an overhead to try and fix this.
Thanks a lot, Alan.
Now I am happy :)
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc