|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-01 00:27 UTC] jani@php.net
-Status: Open
+Status: Wont fix
-Package: Feature/Change Request
+Package: Scripting Engine problem
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
I request that there be an associative array variable for each function that references the local name space of that function, similar to how the $GLOBALS variable works but endemic only to that function. Suggestions for possible names for this variable: $FUNCTION $_FUNCTION $LOCAL $_LOCAL i.e. function test(){ $_FUNCTION['abc'] = 'Hello'; echo $abc; } My reason for requesting this is so that I can have global functions function test(){ $_FUNCTION = &$GLOBALS; )