how to check array elements present in every sub subarray php code example Example: php if array has mroe than one subarray if (count($arr) > 1) { .... }