<?php $def = array( 1 => 1, 2 => 1, 3 => 1); $fill = array( 2 => 0 ); $res = array_merge($def, $fill); print_r($res);
You have javascript disabled. You will not be able to edit any code.