I have an array ($skus), which looks like this;
$skus[0] = "hello";
$skus[1] = "world";
$skus[2] = "sky";
$skus[3] = "is";
$skus[4] = "blue";
My question is, how can I get a subset of this array based on another array, i.e. the subset array is;
$words = array(0,2,4);
which will return to me an array with ["hello", "sky", "blue"], i.e.
$return[0] = "hello";
$return[1] = "sky";
$return[2] = "blue";