PHP’s empty and isset function

The best way to check if a variable consists any value or is empty is to use empty function from PHP itself.

Though, while coding in PHP it shouldn’t be confused with isset which checks if a variable is set or not set, whether that variable is empty.