3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<? class a { private $m = 1; function _construct() { } function f() { return $this->m; } } var_dump(is_callable(array("a", "f")));
Output for 5.4.34 - 7.1.0
bool(true)
Output for 4.3.0 - 5.4.32
<? class a { private $m = 1; function _construct() { } function f() { return $this->m; } } var_dump(is_callable(array("a", "f")));