Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
as it is given that we can declare variable any where . so why we can not use global variable in local function
2 ответов
+ 1
You can declare the global variable out of the function , then you can use it any where
0
global $varname