#phpvariable #Phptutorialforbeginners #global variable
Php tutorial for beginners
in this tutorial we are going to learn about the global variable, the variable is very import concept of every Programming language , here in this tutorial we are going to learn about variable in PHP.
in PHP we have three types of variable and its scope we have
local variable
global variable and
static variable
here in this video we are going to leran about global variable ,
any variables which are declared outside a function are called global variable and anu variable which declared inside a function is called local variable .In our previous video we have studied about local variable , and in this video we are going to teach you everything about global variable in php . we are also going to write few lines of code to understand the concept of local variable by doing live coding , so we request you to do the coding along with us . variable in PHP or in every Programming languages it has it own important and it is very fundamental concept.
every programmer need to have good understanding about it. in this tutorial we are going to clear all your doubts regarding variable specially global variable