$array = array('1' => 'best', '2' => 'interview', '3' => 'question')$array[3] = $array[5];unset($array[3]);// OUTPUTarray('1' => 'best', '2' => 'interview', '5' => 'question')
Your experience on this site will be improved by allowing cookies. Read Cookie Policy