3v4l.org

run code in 500+ PHP versions simultaneously
<?php function test(string $test): void { print_r(func_get_args()); } test('a', 'b', new stdClass);

preferences:
30.36 ms | 483 KiB | 6 Q