Tentative +1 for the func_name::callable version. callable seems more generic, and possibly more intuitive when scan reading code that contains lots of 'function'.
class A {
static function init() {
$inst = new self;
var_export <http://www.php.net/var_export>($inst->bar::callable);
$inst->bar();
}
function bar() {
var_export <http://www.php.net/var_export>(B::baz::callable);
}}
--
Pete Boere
Web Developer
