Re: [Proposal] Idea for Application level variables
| From: | Davey | Date: | Thu, 07 Aug 2003 14:17:06 +0000 |
| Subject: | Re: [Proposal] Idea for Application level variables | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3801@lists.php.net to get a copy of this message | ||
Wojtek Meler wrote:
Davey wrote:Well, whilst this could work, it means that $_APP(LICATION) would not have the same infrastrcture below it as $_SESSION does (automatic serializing/unserializing and the ability to switch the data storage from files, to user, to SQLite and to MMCache) - Davey P.S. Would mind that patch anyways, sounds good, just doesn't fulfill my needs/desires for $_APP(LICATION)MMCache can be used as a session handler, but this still has the pitfalls of the other solutions. If you were to implement $_APP(LICATION) as suggested, then it could indeed (in theory) use MMCache, just as $_SESSION does - DaveyAs far as I understand you just want to have another superglobal variable, don't you? If so I have small patch witch allow to configure in php.ini names for additional superglobals. Regards, Wojtek