I have two arrays that I need to check against each other and if they have reached a point where both items in each array are actually the same as one another, then append s
i think you should first create an array intersection and then iterate over the result to do your thing...