Operators

7
OPERATORS SUR AJ M OTEE

Transcript of Operators

Page 1: Operators

OPERAT

ORS

SU

RA

J M

OT

EE

Page 2: Operators

WHAT ARE OPERATORS?

Operators are used to perform operations on variables and values.

Page 3: Operators

GROUPS OF OPERATORS

• Arithmetic operators• Assignment operators• Comparison operators• Increment/Decrement operators• Logical operators• String operators• Array operators

Page 4: Operators

ARITHMETIC OPERATORS

Page 5: Operators

ASSIGNMENT OPERATORS

Page 6: 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.

Page 7: Operators