Doc #53122 [Asn->Csd]: output doesn't match code
| From: | kalle@php.net | Date: | Fri, 22 Oct 2010 02:07:36 +0000 |
| Subject: | Doc #53122 [Asn->Csd]: output doesn't match code | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5314@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53122&edit=1
ID: 53122
Updated by: kalle@php.net
Reported by: PeterJCLaw at gmail dot com
Summary: output doesn't match code
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: -
PHP Version: Irrelevant
Assigned To: kalle
Block user comment: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-10-22 04:07:22] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304601
Log: Fixed bug #53122 (output doesn't match code)
------------------------------------------------------------------------
[2010-10-20 23:06:57] PeterJCLaw at gmail dot com
Description:
------------
I could be wrong, but I don't believe that the output for the sample
code on http://uk.php.net/manual/en/function.geoip-isp-by-name.php
is
going to produce the supposed output.
If it does then a clearer example should be added to show that this is
not from the 'echo'.
Test script:
---------------
<?php
$isp = geoip_isp_by_name('www.example.com');
if ($isp) {
echo 'This host IP is from ISP: ' . $isp;
}
Expected result:
----------------
This host IP is from ISP: ICANN c/o Internet Assigned Numbers Authority
Actual result:
--------------
This host IP is allocated to: ICANN c/o Internet Assigned Numbers
Authority
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53122&edit=1