📜  清除数组 php 代码示例

📅  最后修改于: 2022-03-11 14:54:42.477000             🧑  作者: Mango

代码示例1
//To clear array you are able to simply re-instantiate it
$foo = array();

//To clear $foo from the symbol table use
unset($foo);