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

From: Date: Fri, 25 Mar 2011 11:51:07 +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-159776@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: anon at anon 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: Literally lol'd. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#159776) next »