![]() |
global
What does global do when it is used inside a function. What is its purpose
|
Globals are variables that can be used in a function but don't have to be passed. Globals are read-only, so you could modify the variable as much as you like inside the function, but it will remain untouched outside. (for example, global $DB_site).
|
Very important read: http://www.php.net/language.variables.scope.php
|
All times are GMT. The time now is 09:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|