Extern variable is in php or not

deepakagrawal's Avatar
Newbie Member
hello,
i am deepak, and i want to know there is extern variable in php or not, or if yes so how can i achive that.
thanks
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
All variables are by default global and they are available from the point of declaration to any other file that is after the declaration but if you have some function or class you need to redeclare the variable in that class by the global keyword.