php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53122 output doesn't match code
Submitted: 2010-10-20 23:06 UTC Modified: 2010-10-22 04:07 UTC
From: PeterJCLaw at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: -
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: PeterJCLaw at gmail dot com
New email:
PHP Version: OS:

 

 [2010-10-20 23:06 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-21 06:29 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: kalle
 [2010-10-22 04:07 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=304601
Log: Fixed bug #53122 (output doesn't match code)
 [2010-10-22 04:07 UTC] kalle@php.net
-Status: Assigned +Status: Closed
 [2010-10-22 04:07 UTC] kalle@php.net
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.


 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b8dc28f7aad17739e18ae42817b3e963161b8ae4
Log: Fixed bug #53122 (output doesn't match code)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 03:00:02 2026 UTC