Req #54325 [NEW]: Support variable names without dollar sign
From:
Operating system:
PHP version: 5.3.6
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:Support variable names without dollar sign
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 bug report at http://bugs.php.net/bug.php?id=54325&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54325&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54325&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54325&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54325&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54325&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54325&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54325&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54325&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54325&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54325&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54325&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54325&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54325&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54325&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54325&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54325&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54325&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54325&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54325&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54325&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54325&r=mysqlcfg
Thread (7 messages)
- ahmetdevel at umich dot edu