You can use the empty() function to check for empty arrays as well. It returns true if there are no elements present in the array and false otherwise.
確定! 回上一頁