<?php class myParent { public function __call($method, $params) { echo "from __call"; } public static function __callStatic($method, $params) { echo "from __callStatic"; } } class mySon extends myParent { public function bar() { myParent::foo(); } } (new mySon())->bar();
You have javascript disabled. You will not be able to edit any code.