3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
164.73 ms | 1605 KiB | 10 Q