<?php interface Foo { public function bar(mixed $arg); } class T implements Foo { public function bar(...$args) { var_dump($args); } } $o = new T(); $o->bar();
You have javascript disabled. You will not be able to edit any code.