Doc #53122 [Opn->Asn]: output doesn't match code

From: Date: Thu, 21 Oct 2010 04:29:02 +0000
Subject: Doc #53122 [Opn->Asn]: output doesn't match code
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5300@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: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem Operating System: - PHP Version: Irrelevant -Assigned To: +Assigned To: kalle Block user comment: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#5300) next »