|  | 
 
| foreach (array($_GET, $_POST, $_COOKIE) as $global) {
 
 if ( ! is_array($global))
 {
 if ( ! in_array($global, $protected))
 {
 global $$global;
 $$global = NULL;
 }
 }
 else
 {
 foreach ($global as $key => $val)
 {
 if ( ! in_array($key, $protected))
 {
 global $$key;
 $$key = NULL;
 }
 }
 }
 }
 不知道其中的判断$_GET,$_POST是不是数组有什么意义!因为他们总是数组啊?难道还有不是数组的情况,如果有,会是什么时候呢?
 | 
 |