3v4l.org

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