As a future memo to me:
$squarer = function ($x) { $out = $x*$x; echo "done!\n"; return $out; };
echo 'The square of 2 is ' . $squarer(2) . "!\n";
echo 'The square of 2 is ', $squarer(2), "!\n";
// **** OUTPUT ****
// done!
// The square of 2 is 4!
// The square of 2 is done!
// 4!