3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hello[0]["arg0"] = "v:0"; $hello[0]["arg1"] = "v:1"; $hello[0]["arg2"] = "v:2"; for($i=0;$i<count($hello[0]);$i++) { echo $hello["abc".$i+1]; }
based on 5QQQ9
Output for 7.1.0 - 7.3.0rc3
Warning: A non-numeric value encountered in /in/s0iH1 on line 9 Notice: Undefined offset: 1 in /in/s0iH1 on line 9 Warning: A non-numeric value encountered in /in/s0iH1 on line 9 Notice: Undefined offset: 1 in /in/s0iH1 on line 9 Warning: A non-numeric value encountered in /in/s0iH1 on line 9 Notice: Undefined offset: 1 in /in/s0iH1 on line 9
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.20
Notice: Undefined offset: 1 in /in/s0iH1 on line 9 Notice: Undefined offset: 1 in /in/s0iH1 on line 9 Notice: Undefined offset: 1 in /in/s0iH1 on line 9
Output for hhvm-3.15.4
Notice: Undefined index: 1 in /in/s0iH1 on line 9 Notice: Undefined index: 1 in /in/s0iH1 on line 9 Notice: Undefined index: 1 in /in/s0iH1 on line 9