Doc #65017 [Opn->Nab]: Wrong parameter type in long2ip() online documentation
| From: | aharvey@php.net | Date: | Wed, 12 Jun 2013 19:38:02 +0000 |
| Subject: | Doc #65017 [Opn->Nab]: Wrong parameter type in long2ip() online documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9924@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65017&edit=1
ID: 65017
Updated by: aharvey@php.net
Reported by: ugbx017ex3ue at fakeimg dot fr
Summary: Wrong parameter type in long2ip() online
documentation
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The documentation is correct there: long2ip() does expect a string, although
PHP's internal type juggling means that integers work as well, obviously.
Previous Comments:
------------------------------------------------------------------------
[2013-06-12 08:27:54] ugbx017ex3ue at fakeimg dot fr
Description:
------------
---
From manual page: http://www.php.net/function.long2ip#refsect1-function.long2ip-description
---
$proper_address parameter is not of type string, should be int.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65017&edit=1