Math Operations in PHP
Addition: 10 + 5 = 15
Subtraction: 10 - 5 = 5
Multiplication: 10 * 5 = 50
Division: 10 / 5 = 2
Modulus: 10 % 5 = 0
Explanation of Arithmetic Operators:
Addition (+): The addition operator performs addition and returns the sum of two numbers.
Subtraction (-): The subtraction operator performs subtraction and returns the difference between two numbers.
Multiplication (*): The multiplication operator performs multiplication and returns the product of two numbers.
Division (/): The division operator performs division and returns the quotient of two numbers.
Modulus (%): The modulus operator returns the remainder when one number is divided by another.