3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $b['hi'] = 1; if(($a['hello'] ?? $b['hi'] ?? $c['hello']) === 1) { echo '2'; }
based on TIb8u
Output for 7.0.0 - 7.2.0
2
Output for 5.3.18 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/NQ38r on line 4
Process exited with code 255.