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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 09:00:02 2026 UTC