3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=array(100=>100,101=>101,102=>102); unset($arr[100]); $arr[100]=105; var_dump($arr);
Output for 4.3.0 - 7.2.0
array(3) { [101]=> int(101) [102]=> int(102) [100]=> int(105) }