php if array has mroe than one subarray code example Example: php if array has mroe than one subarray if (count($arr) > 1) { .... }