Math Operators in PHP

Examples:

Addition (+): 130 + 8 = 138

Subtraction (-): 130 - 8 = 122

Multiplication (*): 130 * 8 = 1040

Division (/): 130 / 8 = 16.25

Modulus (%): 130 % 8 = 2

The addition operator (+) adds two numbers together. The subtraction operator (-) subtracts one number from another. The multiplication operator (*) multiplies values. The division operator (/) divides one number by another and may return decimals. The modulus operator (%) returns the remainder after division. These operators allow PHP to perform mathematical calculations within the program.