PHP Variables

Using Php Variables
Php Variables are are used for storing values, such as strings, numbers। Once stored they can be called from anywhere within the script।

Note :Variables can not have spaces and only contain alpha-numeric characters and underscores.
$myVar or $my_Var both is correct.



Output of this script is :
Hi Friend

Below is another example :


Output of is :
2 + 2 is 4