svn: /phpdoc/en/trunk/reference/math/functions/ decoct.xml
| From: | Christoph Michael Becker | Date: | Tue, 21 Jun 2016 15:03:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/math/functions/ decoct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14225@lists.php.net to get a copy of this message | ||
cmb Tue, 21 Jun 2016 15:03:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339437
Log:
Fix #65280: Documentation for decoct() incorrect
Bug: https://bugs.php.net/65280 (Verified) Documentation
for decoct() incorrect and decoct() behaves strange with float.
Changed paths:
U phpdoc/en/trunk/reference/math/functions/decoct.xml
Modified: phpdoc/en/trunk/reference/math/functions/decoct.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/decoct.xml 2016-06-21 14:38:50 UTC (rev 339436)
+++ phpdoc/en/trunk/reference/math/functions/decoct.xml 2016-06-21 15:03:43 UTC (rev 339437)
@@ -13,8 +13,12 @@
</methodsynopsis>
<para>
Returns a string containing an octal representation of the given
- <parameter>number</parameter> argument. The largest number that can be converted is
- 4294967295 in decimal resulting to "37777777777".
+ <parameter>number</parameter> argument. The largest number that can be
+ converted depends on the platform in use. For 32-bit platforms this is
+ usually <literal>4294967295</literal> in decimal resulting in
+ <literal>37777777777</literal>. For 64-bit platforms this is usually
+ <literal>9223372036854775807</literal> in decimal resulting in
+ <literal>777777777777777777777</literal>.
</para>
</refsect1>
<refsect1 role="parameters">