Check if an array is empty in PHP
This tutorial will discuss about unique ways to check if an array is empty or not in php. Table Of Contents Method 1: Using empty() function Method 2: Using count() function Summary Method 1: Using empty() function The empty() function in PHP accepts a variable as an argument, and returns true if variable is empty […]
Check if an array is empty in PHP Read More »