RE: [PHP-DEV] [patch] Late static bindings (LSB)
| From: | Baptiste Autin | Date: | Sun, 23 Sep 2007 13:26:16 +0000 |
| Subject: | RE: [PHP-DEV] [patch] Late static bindings (LSB) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32424@lists.php.net to get a copy of this message | ||
>If you mean Client's $structure, the you have to use static::$structure
>and it should work. However it's quite a bad design here since you have
>no way to ensure class inheriting from Entity would have $structure.
Couldn't I write: isset(static::$structure) ?
BTW, sorry for my recent vulgar intrusions on PHP internal forum.
I know I am not skilled enough for it, I should have read more carefully
some previous posts, and I am just a big redneck.
Mea culpa :)
So this will be my very last (and so much naïve) question: do you know how
people cope with it in other OO languages?