3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class MyParentClass { private function g() { } protected function f() { $this->g(); } } class MyChildClass extends MyParentClass { protected function f() { $a = array(1); // array_map('parent::f', $a); // A array_map($x ==> parent::f(), $a); // B } public static function test() { (new MyChildClass())->f(); } } MyChildClass::test()

This is an error 404

There are `0` results


preferences:
138.4 ms | 1399 KiB | 7 Q