3v4l.org

run code in 150+ 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 - 5.6.26, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
int(1) int(5) int(2) int(4)