Req #54325 [Com]: Support variable names without dollar sign
| From: | bmajdak@php.net | Date: | Sun, 20 Mar 2011 23:51:39 +0000 |
| Subject: | Req #54325 [Com]: Support variable names without dollar sign | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159649@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54325&edit=1
ID: 54325
Comment by: bmajdak@php.net
Reported by: ahmetdevel at umich dot edu
Summary: Support variable names without dollar sign
Status: Bogus
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
at first i was like :(
but then i was like LOL.
Previous Comments:
------------------------------------------------------------------------
[2011-03-21 00:01:19] rasmus@php.net
.
------------------------------------------------------------------------
[2011-03-20 18:11:13] ahmetdevel at umich dot edu
Description:
------------
I believe the dollar sign in variable names to be a waste of precious
keystrokes,
and I would boldly suggest the requirement that variable names be
prefixed with a
dollar sign is removed.
Currently, undefined literals are interpreted as strings (with a
"Notice" fired).
This is a hardly useful feature, as most useful strings will contain
spaces. A
better use of such tokens would be to interpret them as variables.
If this feature would not be seriously considered, I would appreciate
any pointers
into the relevant source code location(s) that needs to be modified to
implement
this feature.
Thanks,
AhmetSacan.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54325&edit=1