Arithmetic Operators in PHP
Addition: 10 + 5 = 15
Subtraction: 10 - 5 = 5
Multiplication: 10 * 5 = 50
Division: 10 / 5 = 2
Modulus: 10 % 3 = 1
Explanation of Arithmetic Operators:
- Addition (+): Adds two numbers together.
- Subtraction (-): Subtracts one number from another.
- Multiplication (*): Multiplies two numbers together.
- Division (/): Divides one number by another.
- Modulus (%): Returns the remainder of a division operation.