3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php  $x = array(1, 2, 3, 4, 5);  var_dump($x);  unset($x[3]);  $x = array_values($x);  echo '<br>';  var_dump($x);  ?>   - See more at: http://www.w3resource.com/php-exercises/php-array-exercises.php#sthash.65y0TFY1.dpuf
Output for 5.4.0 - 5.4.32
<?php  $x = array(1, 2, 3, 4, 5);  var_dump($x);  unset($x[3]);  $x = array_values($x);  echo '<br>';  var_dump($x);  ?>   - See more at: http://www.w3resource.com/php-exercises/php-array-exercises.php#sthash.65y0TFY1.dpuf