Re: PHP 5.1
| From: | Ryan King | Date: | Wed, 02 Feb 2005 06:51:09 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14516@lists.php.net to get a copy of this message | ||
On Feb 1, 2005, at 9:27 PM, Sean Coates wrote:
Attachment: [application/pkcs7-signature] smime.p7s
Ryan King wrote:I'm not exactly sure what you're saying here. Are you saying that instead of creating my own filter, I just array_walk over the superglobals with my filter? If so, that's definitely doable, but I like the idea of being able to add my own filter, because that keeps all the superglobal-cleaning code together (somewhat). I dunno, what do you think? -ryan -- http://theryanking.com/blogThen the constant really just becomes a callback and I can add anything in that I want.IMO, this is what array_walk(...) is for. Especially if pre- and post-filter $_SUPERGLOBALs are made available.
Attachment: [application/pkcs7-signature] smime.p7s