3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function t(string $a = null){ var_dump($a); } t('x'); t(); t(null);
Output for 7.1.7
string(1) "x" NULL NULL