I need to check if the fields in an array are empty. I would like to know if there is any function in PHP that does this. I've tried empty(), but since it checks if the array is empty, it returns false because the array has fields.
The following array is below:
"wm" => array:7 [▼
"make" => null
"model" => null
"version" => null
"portal_plan_id" => null
"portal_highlight_id" => null
"price_type_id" => null
"announce" => null
]
See that the values are null and they are the ones I need to check.
Thank you!