Req #54325 [Com]: Support variable names without dollar sign

From: Date: Fri, 01 Apr 2011 12:43:40 +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-159890@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:         emclaughlin at svmsolutions dot com
 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:

Keystrokes precious?  We've got some dwindling resources in this world,
but 
keystrokes ain't one of them.


Previous Comments:
------------------------------------------------------------------------
[2011-03-25 20:45:45] at_dot at dot_at dot com

Please keep this request online or archive it somewhere! Love it!

------------------------------------------------------------------------
[2011-03-25 12:51:07] anon at anon dot com

Literally lol'd.

------------------------------------------------------------------------
[2011-03-21 00:51:39] bmajdak@php.net

at first i was like :(
but then i was like LOL.

------------------------------------------------------------------------
[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


Thread (7 messages)

« previous php.bugs (#159890) next »