In general term
" A variable is a character or symbol that represents a certain value."
Suppose
Here
A and B are two variables
Variable A holds value 5
Variable B holds value 2
Types of PHP Variables
Most common types of variables are given below.
" A variable is a character or symbol that represents a certain value."
Suppose
A = 5
B = 2Here
A and B are two variables
Variable A holds value 5
Variable B holds value 2
Types of PHP Variables
Most common types of variables are given below.
- Local variables
- Global variables
- Static variables
- Function parameters
No comments:
Post a Comment