On Oct 14, 2014, at 9:08 AM, Mike Dugan <m...@mjdugan.com> wrote:

> On October 14, 2014 at 10:04:00 AM, Andrea Faulds (a...@ajf.me) wrote:
>> 
>> 
>> So $_QUERY and $_FORM, then. That sounds about right. 
>> 
> 
> Did I just name a global variable? W00t!
> 
> Anyhow, yeah neither one is technically 100% correct, but like Andrea said, 
> the majority of usage will be from forms and query strings with parameters. 
> At any rate, it’s makes more sense semantically in the context of what the 
> var actually contains than $_GET and $_POST ever will.
> 

+1

I’m cool with $_QUERY and $_FORM. They make much more sense and don’t try to 
use HTTP verbs, which can confuse the content and semantics of the data they 
contain. Plus, they would just alias $_GET and $_POST, respectively, right?

-Ben






--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to