svn: /phpdoc/en/trunk/reference/network/functions/ ip2long.xml
| From: | Adam Harvey | Date: | Tue, 22 Mar 2011 02:50:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/network/functions/ ip2long.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7884@lists.php.net to get a copy of this message | ||
aharvey Tue, 22 Mar 2011 02:50:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309517
Log:
Fix doc bug #54338 (docs don't mention that ip2long on 64-bit doesn't return
negative values).
Bug: http://bugs.php.net/54338 (Open) docs don't
mention that ip2long on 64-bit doesn't return negative values
Changed paths:
U phpdoc/en/trunk/reference/network/functions/ip2long.xml
Modified: phpdoc/en/trunk/reference/network/functions/ip2long.xml
===================================================================
--- phpdoc/en/trunk/reference/network/functions/ip2long.xml 2011-03-22 00:44:23 UTC (rev 309516)
+++ phpdoc/en/trunk/reference/network/functions/ip2long.xml 2011-03-22 02:50:14 UTC (rev 309517)
@@ -149,10 +149,11 @@
&reftitle.notes;
<note>
<para>
- Because PHP's integer type is signed, and many IP addresses will
- result in negative integers, you need to use the "%u" formatter of
- <function>sprintf</function> or <function>printf</function> to get
- the string representation of the unsigned IP address.
+ Because PHP's <type>integer</type> type is signed, and many IP addresses
+ will result in negative integers on 32-bit architectures, you need to use
+ the "%u" formatter of <function>sprintf</function> or
+ <function>printf</function> to get the string representation of the
+ unsigned IP address.
</para>
</note>
<note>