How to search a string or array in another array in php In this post snipped I will be showing you how to easily search for a string or an array directly in another array in php really fast and easy with step by step examples. Scenario We have the bellow array with our persons names: