On Aug 13, 2005, at 3:21 PM, Derick Rethans wrote:
On Sat, 13 Aug 2005, George Schlossnagle wrote:
Good. That function would be evil (imho). Given that you can't
access
super-globals as variable-variables, I think that having to really
get at
_RAW_GET[] will make it much more transparent when an application
is using
unfiltered data.
But then everybody will just start using $_RAW_GET instead of $_GET.
What will that solve?
No... reasonable people will use _GET. Applications that need to use
_RAW_GET will do so, and (due to the lack of variable variables
support for it) be easy to track down. With a function it's much
harder to track when you're getting the filtered attay or the raw array.
George
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php