3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(NULL?:[]);
Output for 5.4.9 - 7.3.0beta1
array(0) { }
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/2Zqsb on line 3
Process exited with code 255.