<?php $a = array('test','ee','dd'); $b = array(-1 => 'other'); var_dump(array_replace($b,$a));
You have javascript disabled. You will not be able to edit any code.