Ken2k7 Posted December 26, 2007 Share Posted December 26, 2007 Quick and simple question: is there an advantage into using globals? Are there any instances where globals are a MUST? Quote Link to comment https://forums.phpfreaks.com/topic/83194-solved-php-globals/ Share on other sites More sharing options...
trq Posted December 26, 2007 Share Posted December 26, 2007 is there an advantage into using globals NO, none at all! Global vars are considered evil in just about any programming language. Keep them to a minimal at all times. Quote Link to comment https://forums.phpfreaks.com/topic/83194-solved-php-globals/#findComment-423185 Share on other sites More sharing options...
Ken2k7 Posted December 26, 2007 Author Share Posted December 26, 2007 I thank you thorpe. Hope you had a good Christmas. Or if you don't celebrate that, happy holidays. Ken Quote Link to comment https://forums.phpfreaks.com/topic/83194-solved-php-globals/#findComment-423189 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.