Req #54325 [Opn->Bgs]: Support variable names without dollar sign

From: Date: Sun, 20 Mar 2011 23:01:19 +0000
Subject: Req #54325 [Opn->Bgs]: Support variable names without dollar sign
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159648@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
 Updated by:         rasmus@php.net
 Reported by:        ahmetdevel at umich dot edu
 Summary:            Support variable names without dollar sign
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

.


Previous Comments:
------------------------------------------------------------------------
[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 (#159648) next »