$_GET
, $_POST
, $_SERVER
, $_SESSION
, etc. are all global variables that are initialized once at the beginning of script processing. It doesn't matter if you access it once, or a million times, the time it takes to create the variable will be the same.
That said, assigning a given value to a variable might give you a bit of a performance difference. The array lookup of $_GET['x']
, since it has to parse the string, go to the data structure, and pull it from there, might take a bit of time. However, assigning it to a variable might make the engine use more memory (I don't know if PHP does copy-on-write or not), and possibly do more swapping from cache to memory and back as it has to access a different variable.
That said, any differences would be on the order of tenths or hundredths of a millisecond to page load. Significantly less than you could possibly measure, and much less than the typical variation of a page load.