3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(): void { print "test\n"; } // This currently gives an error, but you propose that it // would change to set $val to null? $val = test(); var_dump($val);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
149.04 ms | 1456 KiB | 10 Q