Re: supporting the final keyword for properties

From: Date: Tue, 28 May 2013 12:44:14 +0000
Subject: Re: supporting the final keyword for properties
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
2013/5/28 Sebastian Krebs <[email protected]>

>
> And in your example you have to know, that you are "manipulating" a
> variable :?
>
>
Sure. But my example's goal was to show the idea of Lars.
Using the "final" keyword on variables would allow to manipulate variables
and "constant variables", without the need to know if it's a variable or a
constant (obviously because they are all variables).

Not my idea, I was just explaining.


Thread (20 messages)

« previous php.internals (#67587) next »