3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = array('1' => 0, '2' => 0, '3' => 2, 'popo' => 10, '5' => 3, '6' => 8, '7' => 3, '8' => 5); echo $a1[4];
based on ApnNU
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 4 in /in/naIEB on line 6
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 4 in /in/naIEB on line 6