<?php class A { public function who() { echo "A\n"; } } class B extends A { public function who() { echo "B\n"; } } var_dump(call_user_func(['B', 'parent::newInstance']));
You have javascript disabled. You will not be able to edit any code.