0
global variable can't be used anywhere in the program?
5 Réponses
+ 2
it can be used in the global scope. in local scope only if it was declared with "global $VARNAME" statement
0
Yes. If you use $global you can use it everywhere
0
yes global variable can use within function as global $name
- 2
can not be used inside the function
- 2
yes they cannot be.