3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = "1"; function a($b) { echo $b["id"]; } a($i);
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'id' in /in/2SS47 on line 4 1
Output for 4.3.0 - 5.3.29
1