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