One way to bring an outside variable inside a scope is by using the use
keyword in PHP.
My question is, why can we only do it on a closure/anonymous function and not on a regular function:
$func = function() use ($globalVar) {}; // this works
function func() use ($globalVar) {} // this won't work. Why?