cvs: phpdoc /en/reference/network/functions ip2long.xml
| From: | Jakub Vrana | Date: | Wed, 06 Apr 2005 13:23:06 +0000 |
| Subject: | cvs: phpdoc /en/reference/network/functions ip2long.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367575@lists.php.net to get a copy of this message | ||
vrana Wed Apr 6 09:23:06 2005 EDT
Modified files:
/phpdoc/en/reference/network/functions ip2long.xml
Log:
Returns false for 255.255.255.255 only in PHP 5 <= 5.0.2 (bug #29737)
http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/ip2long.xml?r1=1.13&r2=1.14&ty=u
Index: phpdoc/en/reference/network/functions/ip2long.xml
diff -u phpdoc/en/reference/network/functions/ip2long.xml:1.13
phpdoc/en/reference/network/functions/ip2long.xml:1.14
--- phpdoc/en/reference/network/functions/ip2long.xml:1.13 Mon Aug 16 09:15:22 2004
+++ phpdoc/en/reference/network/functions/ip2long.xml Wed Apr 6 09:23:05 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.18 -->
<refentry id="function.ip2long">
<refnamediv>
@@ -99,8 +99,9 @@
</para>
<note>
<para>
- <function>ip2long</function> will return <literal>-1</literal> (PHP
4) or
- &false; (PHP 5) for the IP <literal>255.255.255.255</literal>.
+ <function>ip2long</function> will return &false; for the IP
+ <literal>255.255.255.255</literal> in PHP 5 <= 5.0.2. It was fixed in
+ PHP 5.0.3 where it returns <literal>-1</literal> (same as PHP 4).
</para>
</note>
<para>