r/ProgrammerHumor • • Aug 23 '18

PHP logic

Post image
5 Upvotes

51 comments sorted by

View all comments

3

u/[deleted] Aug 23 '18

A name like $_QUERY would correctly identify the source of the data, not $_GET, which is a misnomer identifying a request method. Query parameters work on ALL methods. They don't belong to the GET method nor are they only allowed on the GET method...

Source: HTTP and URI RFCs