sin - chung-leong/qb GitHub Wiki

sin - Sine

float sin ( float $x )

sin() returns the sine of x. The x parameter is in radians.

Parameters:

x - The argument to process in radians. It can be a scalar or an array.

Return Value:

The sine of x. If x is an array, the return value will also be an array.

Version

1.0 and above.