Re: php7- dropping the $ from the variable name - rfc
| From: | Hannes Magnusson | Date: | Fri, 19 Sep 2008 08:50:27 +0000 |
| Subject: | Re: php7- dropping the $ from the variable name - rfc | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40561@lists.php.net to get a copy of this message | ||
On Thu, Sep 18, 2008 at 16:47, marius popa <mapopa@gmail.com> wrote:
> I was looking at the examples used in php.js library
> http://phpjs.org/functions/index
> and it struck me that is cleaner to read the functions and code without the
> $ names in it
>
> From what i understand $ in front of variables is an Perl legacy
I totally agree. Its really annoying needing to type $ all the time,
not to mention how hard it is on Norwegian keyboards. Lets replace it
with £ !
There is even a "patch" available:
http://php.markmail.org/message/jsex75rowudeu2nr
-Hannes