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)); // TRUE
var_dump(is_callable($c2)); // TRUE
var_dump(is_callable($c3)); // TRUE
var_dump(is_callable($c4)); // TRUE
var_dump(is_callable($c5)); // TRUE
var_dump(gettype($c1)); // string(6) "string"
var_dump(gettype($c2)); // string(5) "array"
var_dump(gettype($c3)); // string(5) "array"
var_dump(gettype($c4)); // string(6) "object"
var_dump(gettype($c5)); // string(6) "object"
?>