Re: [PATCH] Late Static Binding

From: Date: Wed, 01 Mar 2006 16:52:07 +0000
Subject: Re: [PATCH] Late Static Binding
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Jochem Maas wrote:

rather than an alternative form of static method calling or a new class related keyword, maybe a new magic constant would be sufficient? e.g.
    __CCLASS__ (C for 'Called')
or
    __OWNER__  (the class the 'owns' the method? [from the view point of the caller])
i dont really think a constant is the way to approach this .. considering your caller will not be constant at all .. regards, Lukas

Thread (59 messages)

« previous php.internals (#22057) next »