3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = Array(0, 1, 2, 3, 'asdf' => 4); print_r($var[4]);
based on PhdRN
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 4 in /in/EeDcI on line 5
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 4 in /in/EeDcI on line 5