Doc #54503 [Opn->Asn]: inet_pton may return false
| From: | aharvey@php.net | Date: | Mon, 11 Apr 2011 11:04:52 +0000 |
| Subject: | Doc #54503 [Opn->Asn]: inet_pton may return false | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6224@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54503&edit=1
ID: 54503
Updated by: aharvey@php.net
Reported by: anthon dot pang at gmail dot com
Summary: inet_pton may return false
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2011-04-10 22:00:49] anthon dot pang at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.inet-pton#Return
Values
---
Change text from:
Returns the in_addr representation of the given address
to:
Returns the in_addr representation of the given address or FALSE on
failure.
Test script:
---------------
var_dump( inet_pton('0') );
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54503&edit=1