3v4l.org

run code in 200+ PHP versions simultaneously
<?php function x ($blah = null){ if(!is_null($blah)){ echo 'its is there'; } } x(0); x();
Output for 7.1.25 - 7.3.3
its is there