Monthly Archives: February 2021

empty() function PHP

empty() function determines whether given variable is empty and also used for checking variable is set or not. Variable is said to empty if it is not set or value is false. empty values can be : 0 “” or “0” 0.0 (0 float value) FALSE empty array() NULL Reference : http://php.net/manual/en/function.empty.php