On Wed, December 19, 2007 11:22 am, Stut wrote: >> well, if you have a long and complex function declaration which >> begins >> with global $whatever, and then all over the function $whatever is >> used, >> some dozens of lines later when looking for something in the code >> you >> might not have any idea that $whatever is global... however if you >> used >> $GLOBALS['whatever'] everywhere it would be trivial. > > Indeed. I don't really care how long the function is. $connection is a global in the scripts. It's the only global there is. It's a global in any function that needs it. If I can't remember that from day to day, then I need to find a nurse to take care of me... [shrug] -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php