3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $word = array(0 => "akaka", 1 => "cool value"); $word2 = array(3 => "ewotr", 0=> 'sksks'); var_dump($word + $word2);
based on Z0suK
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(3) { [0]=> string(5) "akaka" [1]=> string(10) "cool value" [3]=> string(5) "ewotr" }
Output for hhvm-3.10.0

Process exited with code 153.