PHP

Local and Global variables in PHP

Local variable: A variable which is specified in a function is known as localĀ  variable. local variable is accessible only with in the function where it was declared. the life time of a local variable is with in the function. Global Variable: A variable which is specified outside of a

Read More...