Doc #63495 [Opn->Nab]: docs for base_convert() could be clearer
| From: | aharvey@php.net | Date: | Wed, 14 Nov 2012 01:33:44 +0000 |
| Subject: | Doc #63495 [Opn->Nab]: docs for base_convert() could be clearer | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9115@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63495&edit=1
ID: 63495
Updated by: aharvey@php.net
Reported by: daniel at amnistechnology dot com
Summary: docs for base_convert() could be clearer
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: any
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Closing, since this is already documented.
Previous Comments:
------------------------------------------------------------------------
[2012-11-13 18:40:50] mail+php at requinix dot net
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.
------------------------------------------------------------------------
[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