<?php interface TestInterface { public function foo(); } class Test implements TestInterface { public function foo(...$extraArgs) { } } $obj = new Test; $obj->foo();
You have javascript disabled. You will not be able to edit any code.
Generated using Vulcan Logic Dumper, using php 8.0.0