3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(); var_dump($arr[0] ?? 'Test');
based on WHVsF
Output for 7.0.0 - 7.2.0
string(4) "Test"
Output for 5.3.18 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/b9q9D on line 5
Process exited with code 255.