- var_dump: documentation ( source)
<?php
namespace Name;
function Boo() {
var_dump('func:', __FUNCTION__, __METHOD__);
}
trait Constants {
public static function traitC () { return __METHOD__; }
}
class Foo {
use Constants;
public static function method () { return function () {};}
}
Boo();
$ref = new \ReflectionFunction(Foo::method());
\Reflection::export($ref);