3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(null ?? 'Default');
based on Y0iO7
Output for hhvm-3.11.1 - 3.22.0, 7.0.0 - 7.2.9
string(7) "Default"
Output for hhvm-3.10.1
Fatal error: syntax error, unexpected '?' in /in/PFW4k on line 3
Process exited with code 255.
Output for 5.3.19 - 5.6.30
Parse error: syntax error, unexpected '?' in /in/PFW4k on line 3
Process exited with code 255.