Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php nested array contains
Ariane Kh Anderson
Programming language:
PHP
2021-06-06 17:37:56
0
Q:
php nested array contains
claire
Code:
PHP
2021-07-07 06:43:48
in_array($search, array_column($array, 'name'))
2
Tags
array
php
con
nested
Related
how to check if all values in an array are equal php
declare empty array php
in_array in php
php if array has mroe than one subarray
php check for duplicates in array
check if any values are the same in an array php
php check if all values in array are equal
php array has value
php two arrays intersect
in_array php
check if array value exists in another array php
check if array has value php
array empty check in php
php array of all countries
declare empty array in php
php in_array
php merge array with same value
check if all values in array are equal php
php empty array
New to Communities?
Join the community