Re: property de-referencing

From: Date: Tue, 30 Apr 2013 21:00:45 +0000
Subject: Re: property de-referencing
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 04/30/2013 01:58 PM, Stas Malyshev wrote:
> Hi!
> 
>> I'm proposing we need a way to statically reference an object property -
>> the object property itself, not it's value:
> 
> You probably have use case for that, and it should be pretty easy to
> write a class that does that, but why it should be in the language? It
> certainly doesn't look like something sizeable portion of PHP devs would
> do frequently.

It is certainly not worth overloading the XOR operator for.

-Rasmus



Thread (64 messages)

« previous php.internals (#67226) next »