+ 1
What's the difference between empty() and isSet() in PHP?
2 Answers
+ 2
IIRC empty() checks if the value is empty or "". isset() checks if a variable exists or is NULL.
0
if your say that empty () checks whether a variable is empty, does you mean that $x = 0 is an empty variable? because will return TRUE if checked