Defining all $_GET vars from url

I’m wondering how i should go about getting all the variables in the url and defining them without specifically defining them all one by one. I want to find the varname and value and define them. Thanks for any help in advance.

While highly discouraged, this may be accomplished with