- var_export: documentation ( source)
- is_callable: documentation ( source)
<?php
class C {
static function __callStatic(string $f, array $args) {
print 'C::' . $f . '(...';
var_export($args);
print ")\n";
}
}
['C', 'foo'](5);
var_export(is_callable(['C', 'foo']));