A Php program to print the absolute number. Using this program we can print the absolute which means a non negative number. On a number line, a number’s absolute value is its distance from zero. f(x) = |x| is the absolute value function. The positive value of the input is the output.