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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ugbx017ex3ue at fakeimg dot fr
New email:
PHP Version: OS:

 

 [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: Fri May 24 11:01:34 2024 UTC