Source Code:
(back to article)
<?php $number = 10; // Calculate the natural logarithm of the number using the log() function $result = log($number); // Output the result echo $result; ?>
Result:
Report an issue