How can I determine if one array is a subset of another (all elements in the first are present in the second)?
$s1 = \"string1>string2>string3>string4&
I would create an associated array of the larger array, then iterate through the smaller array, looking for a non collision, if you find one, return false.
function isSubset($arr1,$arr2){ $map = Array(); for ($i=0;$i