Write a PHP program to check two given arrays of integers of length 1 or more and return true if they have the same first element or they have the same last element
Write a PHP program to check two given arrays of integers of length 1 or more and return true if they have the same first element or they have the same last element.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer