3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = ['bar']; print empty($foo['test']);
Output for 5.4.1 - 7.2.6
1
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/NQLYP on line 2
Process exited with code 255.