On 17 February 2015 at 17:35, Tim Bezhashvyly <tim.bezhashv...@gmail.com> wrote: > Dear PHP internals, > > this is my first RFC proposal and I am not sure if in this email is supposed > to contain all RFC details or just a brief idea .. which is to drop PHP > constants in favour of “final" immutable variables.
I think we need some more details. Assuming since you mention "final" that your intent is to allow T_FINAL for class property definitions? Class constants have the ability to be referenced without instantiating the class as an object. What are the benefits of immutable properties over class constants? You certainly wont be able to _drop_ class constants as they are so widely used. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php