Jump to content

help with $_GET


spikeon

Recommended Posts

FYI - $_GET[sid] will "function" (assuming there are no other problems in the code), but it will be about 20 times slower than the proper syntax $_GET['sid'] because with the proper syntax, php does not need to go through all the error handling code necessary to figure out that there is not a defined constant named sid and then try it as a quoted index named 'sid'

 

For the quickest executing code, use proper syntax.

Link to comment
https://forums.phpfreaks.com/topic/94575-help-with-_get/#findComment-484320
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.