Question: check is empty array php?
Answer: Using count Function: This function counts all the elements in an array. If number of elements in array is zero, then it will display empty array. Syntax: ... 
Using sizeof() function: This method check the size of array. If the size of array is zero then array is empty otherwise array is not empty. Example: