convert local variable to global variable in php

Suppose you have a variable which has same name as declared within the function and outside the function. But that variable has different scope. If the variable is declared within the function then it is called local variable and if it declared outside the function then it is global variable. If we assign/change the value […]

convert local variable to global variable in php Read More ยป