reaarange array after deleting its element
<p>hi 
i have array like $arr with 10 elements when i unset the 5 element  and print the array it print he array without 5 indx. now i want to rearrange the array with 9 elements and first four values index will be same but after this values should be shifted to (previous index-1).
is there any simple method is there (array function). or i have to made a complete logic for this.</p>
