3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function test($bar = null) { var_dump(func_get_args()); } } class Baz extends Foo { public static function test($bar, ...$args) { parent::test(...$args); } } Baz::test(); Baz::test('hello');

This is an error 404

There are `0` results


preferences:
184.71 ms | 944 KiB | 8 Q