Get All Variables Declared in a PHP Script

$temp = get_defined_vars();
print_r($temp);
Advertisements