note 28075 rejected from function.log by nicos
| From: | nicos@php.net | Date: | Wed, 01 Jan 2003 18:53:10 +0000 |
| Subject: | note 28075 rejected from function.log by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41545@lists.php.net to get a copy of this message | ||
Perhaps a bug... The optional base componet doesn't work on 4.2.2
So this work around:
function logn($n, $b) {
return log($n) / log($b);
}
.. as "echo log(100,10);" doesn't return 2 but a error/warning!!!
--Doug