On Feb 1, 2005, at 9:27 PM, Sean Coates wrote:

Ryan King wrote:
Then 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.

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/blog

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to