我测试好像可以直接unset()数组
那为什么DISCUZ这么释放的$GLOBALS数组,而不是直接unset($GLOBALS)?foreach ($GLOBALS as $key => $value) {
if (!isset($this->superglobal[$key])) {
$GLOBALS[$key] = null; unset($GLOBALS[$key]);
}
}