|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-02 06:55 UTC] daniel@php.net
Until now PHP has used the $ prefix for variables what is clearly influenced by script languages such as Perl which have their roots in the USA. As PHP's core components, such as ZEND, are developed in Europe and many opinion leaders are from here I'd suggest to replace $ by the Euro sign ? as of PHP5. Yes, this will break some of the existing scripts, but we might provide a tool which replaces all occurencies of $ by ?. -- Daniel Lorch http://daniel.lorch.cc/ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
AFAIK the prepended $ makes it possible to parse faster - i.e. differentiating between variables and functions. Also, there would be a namespace problem ("is it a variable or a function?").