3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = null; $bar = null; $what = $foo ?? $bar ?? 'DEFAULT'; var_dump($what);
Output for 7.0.0 - 7.3.0
string(7) "DEFAULT"
Output for 5.3.20 - 5.6.38
Parse error: syntax error, unexpected '?' in /in/uj7sB on line 6
Process exited with code 255.