<?php
$x = function ($a) {
  return $a * 2;
};
 
echo assert( 
  true === is_callable($x) 
);

echo "\n";

echo assert( 
  4 == $x(2) 
);