NYCPHP Meetup

NYPHP.org

[nycphp-talk] static methods in derived classes

Adam Maccabee Trachtenberg adam at trachtenberg.com
Thu Sep 23 13:02:56 EDT 2004


On Thu, 23 Sep 2004, David Sklar wrote:

> Here's another bug report about the same issue. Since "self" is bound at
> compile time, it can't know about subclasses:

That sounds right to me. Even if the child class is static, PHP does
not assume ahead of time that such a class exists.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list
Automatic Email Organization without missing anything!