<?php

$_GET["id"] = 1;

function get_id() {
	
	global $_GET;
    
    $var = "_GET";
    
    return ${$var}["id"];
}

echo get_id(), PHP_EOL;