3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3); $b = array(1,2,3); $f = array(2,3,4); $c = array_merge($a, $b, $f); $d = array_unique($c); var_dump($d);
based on q37I0
Output for 4.3.0 - 7.1.0
array(4) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [8]=> int(4) }