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