Technical Solutions
Wednesday, 6 March 2019
check if array contains all array values from another array
$containsSearch
=
count
(
array_intersect
(
$search_this
,
$all
))
==
count
(
$search_this
);
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment