I would like to know if there is a function that can remove elements from an array. Something like below
$array1 = array('value1', 'value2','value3');
$array2 = array('value1', 'value2');
array_eliminate($array1, $array2):
$array1 = array('value3');
Where array_eliminate will remove all matched arrays