Protected Super Global Array

[email protected] (Sancar Saran) Wed, 19 Dec 2007 01:03:59 +0200
Newsgroups php.evangelism
Message-ID <[email protected]>
Hello,

I'm not sure this was right place to ask this.

Is there any possibility to add this kind of ability to php core.

I want to create my suber global array with protection option option. Someting 
like that.

new_super_global('myGlobal','mySignature')


reading data from this super global was simple like $GLOBALS and updating this 
global someting like.

update_super_global('myGlobal',mySignature,keyName,data)

Yes of course we can use $GLOBALS. Everyone says it was not good idea because 
someting else. There where some windows registry thingy implementation's.

Last time I was try to use Zend_Registry. Yep it works. and in every function 
I have to call it.

And tell me where is the benefit.


Regards

Sancar