php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65017 Wrong parameter type in long2ip() online documentation
Submitted: 2013-06-12 08:27 UTC Modified: 2013-06-12 19:38 UTC
From: ugbx017ex3ue at fakeimg dot fr Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2013-06-12 08:27 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-12 19:38 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 [2013-06-12 19:38 UTC] aharvey@php.net
The documentation is correct there: long2ip() does expect a string, although 
PHP's internal type juggling means that integers work as well, obviously.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 06:01:35 2024 UTC