Nope. Global vars should be avoided at all costs. If this isn't possible, they should always be declared global within each function which needs to access them. Don't rely on php.ini settings or functional work-abouts, that's a really bad design practise that leads to bad and non-portable code. There's no if's, and's, or but's about it..... that's just the way it is.
Being a very loosely typed language, all variables are by default global in within the script's scope. Only the function names are global within the script's scope..... a function's inner mechanic's are not in the script's scope. Therefore, a global declaration is required. Christ, think what a mess it'd be if all variables were globally accessible within all functions.
Globals can very quickly make your script's start doing weird and unexpected things (over-writting variables, changing expected values, etc.). There's no way around this, but by specifically declaring which vars will be global you are at least forcing some thought into the application's design..... and hopefully minimizing the number of errors in the process.
In this case, think of functions as a weakened version of OO. On of the strongest characteristics of OO is data encapsulation, and you wouldn't try to over-ride that would you? To a lesser degree, keeping function vars in a different scope than the main script is also data encapsulation (of a sort). Don't muck with it unless you absolutely have to.
If you have to pass a given variable into a function, instead of globalizing it... pass it as an optional variable at the end of your arg's list. For example, you've got a function that accepts 3 arg's and must have access to the HTTP_SERVER_VARS array. Do this:
function myFunction($arg1,$arg2,$arg3,$serverVars=$HTTP_SERVER_VARS) {
Your call to the function is unchanged:
myFunction($arg1,$arg2,$arg3);
and the contents of the HTTP_SERVER_VARS array is passed into the function without the need of ugly globals.
Globals are mostly bad, all of the time. Avoid using them as much as possible, but if you must use them take the time to properly plan and declare them.
-geoff