PHP 4, PHP 5, PHP 7, PHP 8
pi - Get value of pi
Returns an approximation of pi. Also, you can use the M_PI constant which yields identical results to pi.
This function has no parameters.
The value of pi as float.
Show all examples for pi