3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $my_array=array(array('name' => 'michi'),array('name' => 'stefan'),array('name' => 'eva')); var_dump($my_array); unset ($my_array[1]); var_dump($my_array);
Output for 4.3.0 - 7.2.0
array(3) { [0]=> array(1) { ["name"]=> string(5) "michi" } [1]=> array(1) { ["name"]=> string(6) "stefan" } [2]=> array(1) { ["name"]=> string(3) "eva" } } array(2) { [0]=> array(1) { ["name"]=> string(5) "michi" } [2]=> array(1) { ["name"]=> string(3) "eva" } }