Skip to content
Chung Leong edited this page Jan 10, 2022 · 3 revisions

log - Natural logarithm

float log( float $x )

log() computes natural logarithm of x.

Parameters:

x - The number to process. It can be a scalar or an array.

Return Value:

The logarithm of x to base e. If x is an array, the return value will also be an array.

Version

1.0 and above.

Clone this wiki locally