Extern variable is in php or not

deepakagrawal's Avatar
Newbie Member
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.
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.