There are two arrays $first = ['one','two','three'];$second= ['five','four','three']; The question is how to make a check for the same elements, something like
if(in_array($first,$second)){ echo 'yes'} else {echo 'no'} There are two arrays $first = ['one','two','three'];$second= ['five','four','three']; The question is how to make a check for the same elements, something like
if(in_array($first,$second)){ echo 'yes'} else {echo 'no'} Source: https://ru.stackoverflow.com/questions/658920/
All Articles