3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $expected_array_got_string = 'somestring'; if (empty($expected_array_got_string['some_key'])) { echo 'foo'; } if (@$expected_array_got_string['some_key'])) { echo 'foo'; }
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected ')' in /in/v1MMc on line 9
Process exited with code 255.