0

as it is given that we can declare variable any where . so why we can not use global variable in local function

16th Jul 2016, 7:20 PM
abhijit kushwaha
abhijit kushwaha - avatar
2 Answers
+ 1
You can declare the global variable out of the function , then you can use it any where
19th Jul 2016, 11:35 AM
Faris Mahroum
Faris Mahroum - avatar
0
global $varname
19th Aug 2016, 11:57 PM
AgentSmith