From: tim dot stebbing at nunatak dot com dot au Operating system: Linux PHP version: 4.3.1 PHP Bug Type: Feature/Change Request Bug description: Addition to the global keyword
optionaly add 'as' to the global keyword, in the same way that SQL 'as' works: global $aVeryLongVariableName as $foo It would neaten alot of code, would not break old scripts, I imagine your passing a ref into the code block, this is just specifying the handle used :) -- Edit bug report at http://bugs.php.net/?id=22972&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22972&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22972&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22972&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22972&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22972&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22972&r=support Expected behavior: http://bugs.php.net/fix.php?id=22972&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22972&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22972&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22972&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22972&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22972&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22972&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22972&r=gnused