3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = ['foo' => 'bar']; var_dump($foo['bar']['foo'] ?? null);
Output for 7.0.28 - 7.3.0rc3
NULL
Output for 5.6.38
Parse error: syntax error, unexpected '?' in /in/3pBvr on line 4
Process exited with code 255.