svn: /phpdoc/en/trunk/reference/math/functions/ base-convert.xml
| From: | Christoph Michael Becker | Date: | Fri, 15 Jan 2016 13:24:06 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/math/functions/ base-convert.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13982@lists.php.net to get a copy of this message | ||
cmb Fri, 15 Jan 2016 13:24:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338497
Log:
fix #70928: base_convert doesn't distinguish capital letter
Bug: https://bugs.php.net/70928 (Assigned) base_convert
doesn't distinguish capital letter
Changed paths:
U phpdoc/en/trunk/reference/math/functions/base-convert.xml
Modified: phpdoc/en/trunk/reference/math/functions/base-convert.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/base-convert.xml 2016-01-15 12:03:04 UTC (rev 338496)
+++ phpdoc/en/trunk/reference/math/functions/base-convert.xml 2016-01-15 13:24:06 UTC (rev 338497)
@@ -22,6 +22,8 @@
have to be between 2 and 36, inclusive. Digits in numbers with a
base higher than 10 will be represented with the letters a-z,
with a meaning 10, b meaning 11 and z meaning 35.
+ The case of the letters doesn't matter, i.e.
+ <parameter>number</parameter> is interpreted case-insensitively.
</para>
<warning>
<simpara>
@@ -77,7 +79,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$hexadecimal = 'A37334';
+$hexadecimal = 'a37334';
echo base_convert($hexadecimal, 16, 2);
?>
]]>