declare variable as global

Solutions on MaxInterview for declare variable as global by the best coders in the world

showing results for - "declare variable as global"
Lola
02 Jan 2020
1$GLOBALS['a'] = 'localhost';
2
3function body(){
4
5    echo $GLOBALS['a'];
6}
7
similar questions
queries leading to this page
declare variable as global