log

(PHP 3, PHP 4 )

log -- Natural logarithm

Description

float log ( float arg [, float base])

If the optional base parameter is specified, log() returns logbase arg, otherwise log() returns the natural logarithm of arg.

Note: The base parameter became available with PHP version 4.3.0.