Examples

10 + 5 = 15

10 - 5 = 5

10 * 5 = 50

10 / 5 = 2

10 % 5 = 0

Incrementing num3: 6

In PHP, Operators are used to perform mathematical operations. Operator basics: