I want to delete multiple items array without disrupt order the key. So what is the best way to do that problem? because i tried use splice but the key is skipped for deleted element
the example :
$del_item = array('orange', blueberry);
$array = array('apple', 'orange', 'strawberry', 'blueberry', 'kiwi');
print_r($array);
//[0]=>"apple", [1]=>"orange", [2]=>"strawberry", [3]=>"blueberry", [4]=>"kiwi"
$deleted= array('apple', 'strawberry', 'kiwi');
print_r($deleted);
//[0]=>"apple", [1]=>"strawberry", [2]=>"kiwi"