Re: php7- dropping the $ from the variable name - rfc
| From: | sotiris karavarsamis | Date: | Sat, 20 Sep 2008 17:59:53 +0000 |
| Subject: | Re: php7- dropping the $ from the variable name - rfc | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40576@lists.php.net to get a copy of this message | ||
Marco wrote:
So don't you consider this a serious reason against stripping/changing the dollar sign?
Do you think that would be a good effect for PHP users if that change would exist
in a future version of PHP (even in PHP6!)? It's a simple change but a great shift!
Hey, why not make it configurable (ini option) ?! :D
I really do not find it reasonable to change the dollar sign to
something
else.
If we could switch the dollar sign notation in variables on and off
with a directive in php.ini, that would break backwards compatibility
between apps
not only in a single user environments but also in shared hosting
envs.
Imagine having to switch into dollar sign notation for a phpbb
installation
and to a notation without the dollar sign for a custom
application. It's
just
crazy!
http://en.wikipedia.org/wiki/Sarcasm ... I hope :-D
I'm not being sarcastic, if you mean it. :p
Regards Marco