Code:
 

$a = 1;
$b = 2;


function nekkidrage()

   global $a, $b;

   exit()
Will $a = 1 and $b = 2 in the function? If so is this the best approach?