float cos(float $arg)
cos() returns the cosine of the arg parameter. The arg parameter is in radians.
arg
float
The cosine of arg
Example #1 cos() example
<?phpecho cos(M_PI); // -1?>