Re: late static binding php6
| From: | Lukas Kahwe Smith | Date: | Mon, 19 Nov 2007 13:11:40 +0000 |
| Subject: | Re: late static binding php6 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33307@lists.php.net to get a copy of this message | ||
On 19.11.2007, at 14:05, Alexey Zakhlestin wrote:
On 11/19/07, Lukas Kahwe Smith <mls@pooteeweet.org> wrote:that way you could add the class name as a second parameter to the parent method, without having to type it out in every call. Anyways, I think the current situation is quite clear to me. then again, I forgot if we also added new magic constants to go along with __CLASS__ for this (aka __SELF__)? regards, LukasI think the point of Stas reply was to use self:: instead of parent::.how would self help? that would mean calling this exact method, not the method of parent-class