I wrote this function to get a subset of an array. Does php have a built in function for this. I can\'t find one in the docs. Seems like a waste if I\'m reinventing the whee
array_diff_key and array_intersect_key are probably what you want.