scripting - How to reset a variable to NULL in PHP? -


I can use the isset ($ var) to determine if the variable is defined Do not have or does not have faucet. (For example if a session variable has been set)

But after setting a variable, how do I reset it to default such as isset ($ var) Return wrong ?

Usage unset ($ var);


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -