3v4l.org

run code in 500+ PHP versions simultaneously
<?php function test(string $a = NULL) { var_dump($a); } test(NULL); test('a');

preferences:
21.23 ms | 486 KiB | 6 Q