3v4l.org

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