<?php interface Foo { function bar($a, $b): void; } class Baz implements Foo { function bar($b, $c): void { var_dump([$b, $c]); } } call_user_func_array([(new Baz), 'bar'], ['c' => 123, 'b' => 456]);
You have javascript disabled. You will not be able to edit any code.