- var_dump: documentation ( source)
<?php
class Foo {
public static function __callStatic($m, $args) {
var_dump($m);
}
public function __call($m, $args) {
var_dump($m);
}
}
$callable = [new Foo, ''];
$callable();
$callable = 'Foo::';
$callable();