3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $arr[] = 1; $arr[] = 22; unset($arr[1]); $arr[] = 34; $arr[] = 89; echo $arr[2];
based on ecZN5
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1
34