Doc #63495 [Com]: docs for base_convert() could be clearer

From: Date: Tue, 13 Nov 2012 18:40:50 +0000
Subject: Doc #63495 [Com]: docs for base_convert() could be clearer
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9110@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
 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)

« previous php.doc.bugs (#9110) next »