David Carrdcblogdev.hashnode.dev·Jul 17, 2015comparing multiple values against in_arrayPHP's in_array is useful to determine if an item is in an array but when needing to compare multiple values against in_array no results will be found. A way round this is to loop through the values and compare each one in turn, this function is pefe...367 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.