note 68832 deleted from function.base-convert by danbrown
| From: | danbrown@php.net | Date: | Sat, 02 Jul 2011 15:39:55 +0000 |
| Subject: | note 68832 deleted from function.base-convert by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181167@lists.php.net to get a copy of this message | ||
Note Submitter: Kiam
----
Refering to the function posted by Michael Renner, I would change the line
$result = $tostring{$divide} . $result;
in
$result = $chars{$divide} . $result;
as $divide seems garanted to be less than $tobase.
That also eliminates the need of the variable $tostring.
-- Kiam