Re: supporting the final keyword for properties
| From: | Amaury Bouchard | 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 internals+get-67587@lists.php.net to get a copy of this message | ||
2013/5/28 Sebastian Krebs <krebs.seb@gmail.com>
>
> 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.