What is the difference between isset() and empty() functions in PHP?
1 min readJan 25, 2019
PHP isset() is used to determine if a variable is set. If the same is nonexistent or nullified, the output is FALSE.
The function empty() determines if the variable hold any value. If the value is “” (for text/ varchar) or 0 (for integer) or 0.00 (for float), the output is FALSE.
It’s easy to get confused between PHP isset() and empty().