Hi Tim,

Le Wed, 18 Feb 2015 10:44:20 +0100, Tim Bezhashvyly <tim.bezhashv...@gmail.com> a écrit:

Dear internals,

my RFC was not about dropping just class constants but constants in general. Now I realise that you are not ready for this and most likely will never be. Thus I’m withdrawing my proposal.

Regards,
Tim

I'm totally against dropping the constants. Constants are one of the first things you learn in PHP, and they are literally everywhere. This would be a major BC. Even worse than DbC, return types and scalar type hints altogether. But the immutable variables are interesting.

As other people said, you should proceed step-by-step. I can perfectly see the immutable variables pass, but not the removal of the constants.

You should explain precisely what you have in mind, so we can discuss it.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to