Re: PHP 6.0 Wishlist

From: Date: Sat, 13 Aug 2005 20:43:40 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-17996@lists.php.net to get a copy of this message
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

« previous php.internals (#17996) next »