Answers for "check if array value exists in another array php"

PHP
3

check if array value exists in another array php

$result = !empty(array_intersect($people, $criminals));
Posted by: Guest on April-02-2020
1

php check if entire array are in another array

$containsAllValues = !array_diff($search_this, $all);
Posted by: Guest on June-28-2021

Code answers related to "check if array value exists in another array php"

Browse Popular Code Answers by Language