3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $res='1'; if(!$res['id']) echo 'false';
Output for 5.4.0 - 7.1.7
Warning: Illegal string offset 'id' in /in/LBJ6u on line 3
Output for 4.3.0 - 5.3.29