If the optional base parameter is specified,
log() returns logbasearg, otherwise log()
returns the natural logarithm of arg.
Note:
The base parameter became available
with PHP 4.3.0.
As always you can calculate the logarithm in base b
of a number n, but using the mathematical identity:
logb(n) = log(n)/log(b), where log is the
neperian (or natural) logarithm.
log php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php log syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.