3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test(?string $a = null):?string { return $a; } echo test('a'); echo test();
Output for 7.2.10
a