The modulo operator returns the remainder after the left operand is divided by the right operand.

  echo 7 % 3;   //Prints: 1

The modulo operator will convert its operands to integers before performing the operation, rounding down.