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
