If we want to check whether a variable has a value or not, it is possible to use the empty() function. Post navigation How can we check the value of a given variable is alphanumeric? What does the unlink() function mean?