Actually, $_GET, $_POST, $_COOKIE, $_SERVER, $_ENV and $_SESSION variables deprecate the old $HTTP_*_VARS arrays and can be used regardless of the scope. There is no need to import them using the global statement within functions. EDIT: So that's why globals should be turned off.