The url variable is just the variables that you can append to the end of the url.
someurl.com?myurlvar=true&secondurlvar=false
Here is a PHP block that will display a variable named test:
<?php echo $_GET['test']; ?>
You can check if the variable is set by calling the isset function call around the variable like this:
isset($_GET['test']);