3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = array(1,'x' => 3, 2, 4); $x['x'] = 5; call_user_func_array('var_dump', $x);
based on rLhr3
Output for 4.3.0 - 7.2.0
int(1) int(5) int(2) int(4)