Leetcode Intersection Of Two Sorted Arrays In Php