Arithmetic Operators

This lesson discusses arithmetic operators and how you can use them to perform basic arithmetic in PHP.

We'll cover the following

Arithmetic operators, as the name suggests, are used to perform basic arithmetic. They are further divided into types:

  • Binary Operators
  • Unary Operators

Binary Operators #

Binary operators are the ones that take two values and perform an arithmetic operation on them.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy