3v4l.org

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