Query: log
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LOG(3) 1 LOG(3) log - Natural logarithmSYNOPSISfloat log (float $arg, [float $base = M_E])DESCRIPTIONIf the optional $base parameter is specified, log(3) returns logbase$arg, otherwise log(3) returns the natural logarithm of $arg.PARAMETERSo $arg - The value to calculate the logarithm for o $base - The optional logarithmic base to use (defaults to 'e' and so to the natural logarithm).RETURN VALUESThe logarithm of $arg to $base, if given, or the natural logarithm.SEE ALSOlog10(3), exp(3), pow(3). PHP Documentation Group LOG(3)