PHP Manual: log
log
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.
Parameters
argThe value to calculate the logarithm for
baseThe optinal logarithmic base to use (defaults to 'e' and so to the natural logarithm).