"/> ">
Home > Article > Backend Development > save your heart for someone wh variable operation function unset
Meaning: Used to destroy one or more specified variables;
Format: unset(variable name 1 [, variable name 2]);
Usage: When the user does not want to use a certain variable, or Want to completely delete a variable;
Note: The destruction behavior of unset() in the function is related to the type of the variable. Using unset (variable name) locally only causes the local variable to be destroyed. If you want to destroy the global variable locally, For variables, use unset($GLOBALS["Name of the variable"])
Manual: PHP Manual-->Function Reference-->Related extensions of variables and types-->variable handling function -->unset
The above introduces the operation function unset of the save your heart for someone wh variable, including the content of save your heart for someone wh. I hope it will be helpful to friends who are interested in PHP tutorials.