Doc #63495 [Com]: docs for base_convert() could be clearer
Edit report at https://bugs.php.net/bug.php?id=63495&edit=1
ID: 63495
Comment by: mail+php at requinix dot net
Reported by: daniel at amnistechnology dot com
Summary: docs for base_convert() could be clearer
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: any
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
It does. Right in the description:
"Both frombase and tobase have to be between 2 and 36, inclusive."
The comment you're referring to is from 2002.
Previous Comments:
------------------------------------------------------------------------
[2012-11-12 11:36:34] daniel at amnistechnology dot com
Description:
------------
---
From manual page: http://www.php.net/function.base-convert#refsect1-function.base-convert-description
---
I feel that the docs themselves should mention this (desribed nicely by one of the commenters):
" If you haven't already figured it out from the text, the higest base you can encode in
is 36 (because z is 35),"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63495&edit=1
Thread (3 messages)