Operators
7
OPERATORS SUR AJ M OTEE
-
Upload
suraj-motee -
Category
Education
-
view
188 -
download
1
Transcript of Operators
OPERAT
ORS
SU
RA
J M
OT
EE
WHAT ARE OPERATORS?
Operators are used to perform operations on variables and values.
GROUPS OF OPERATORS
• Arithmetic operators• Assignment operators• Comparison operators• Increment/Decrement operators• Logical operators• String operators• Array operators
ARITHMETIC OPERATORS
ASSIGNMENT OPERATORS
ASSIGNMENT OPERATORS
The PHP assignment operators are used with numeric values to write a value to a variable.
The basic assignment operator in PHP is "=". It means that the left operand gets set to the value of the assignment expression on the right.