"/> ">

Home  >  Article  >  Backend Development  >  save your heart for someone wh variable operation function unset

save your heart for someone wh variable operation function unset

WBOY
WBOYOriginal
2016-07-29 08:33:101123browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn