I have seen code like this:
function($cfg) use ($connections) {}
but php.net doesn\'t seem to mention that function. I\'m guessing it\'s re
It is telling the anonymous function to make $connections (a parent variable) available in its scope.
$connections
Without it, $connections wouldn't be defined inside the function.
Documentation.