PHP has a set of math functions that allows you to perform mathematical tasks on numbers.
pi() - Returns PImin() / max() - Find lowest/highest valueabs() - Absolute valuesqrt() - Square rootround() - Rounds a floating-point numberrand() - Generates a random numberEdit the code below and click Run to see the result live.