No, despite description here a `callable` still is not a a full-fledged primitive type in PHP.
<?php
function testFunc() { }
class testClass {
public function __invole() { }
public static function testStaticMethod() { }
public function testMethod() { }
}
$o = new testClass();
$lambda = function() { };
$c1 = 'testFunc';
$c2 = ['testClass', 'testStaticMethod'];
$c3 = [$o, 'testMethod'];
$c4 = $lambda;
$c5 = $o;
var_dump(is_callable($c1)); var_dump(is_callable($c2)); var_dump(is_callable($c3)); var_dump(is_callable($c4)); var_dump(is_callable($c5)); var_dump(gettype($c1)); var_dump(gettype($c2)); var_dump(gettype($c3)); var_dump(gettype($c4)); var_dump(gettype($c5)); ?>