3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 0; echo true ?? false.PHP_EOL; echo $a ?? 'A'.PHP_EOL; echo $b ?? 'B'.PHP_EOL;
Output for 7.0.0 - 7.2.0
10B
Output for 5.3.20 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/f4GlD on line 5
Process exited with code 255.