Hello Zeev,
Sunday, July 20, 2003, 8:09:31 PM, you wrote:
>>- Add support for 'this::<method>()', 'this::<property>'
ZS> ? ZS> That's what you have self:: for.
>> and 'new this()' >> inside static methods.
ZS> I see no compelling reason to add 'new this()', but either way, if we do ZS> find such a reason, it will be 'new self()'.
Timm already ran into the problem also self and this are of course different
things and their meaning should not be changed that would be to much confusion.
Right, and self() is the right choice here (you're referring to the class, not to a particular instance). But that's *if* we decide that we need that kind of syntax in the first place, I'm for one am not convinced...
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php