UK [paɪ] US [paɪ]

n.Pi(π)

plural: pis

phppi() function syntax

What does the pi() function mean?

php pi() function is used to obtain the pi value. The syntax is pi(). This function is simply used to obtain the pi value.

Function:Get the pi value

Syntax:pi()

Parameters:There are no parameters in the pi() function

Note:This function is simply used to obtain the pi value

phppi() function example


Run instance»

Click the "Run instance" button to view the online instance

Output:

3.1415926535898