Is there any function for deleting an array from an array?
Like ...
Code: Select all
$arr1 = array("apple", "pear", "orange", "small one eyed dog");
$arr2 = array("orange", "apple");
print_r(array_blah($arr1, $arr2));Failing a function like this, I guess I'll just do an array_search and unset any matches, but I cant find a function or an alternate clean way of doing this, and though I've searched, I havent found anything much.array([0]=>"pear" [1]=>"small one eyed dog")
Cheers