[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-bugs
Subject:    [DOC-BUGS] Doc #74441 [Opn->Nab]: Documentation differs from reflection
From:       vrana () php ! net
Date:       2018-01-29 23:25:44
Message-ID: 201801292325.w0TNPimw022818 () srgv2 ! php ! net
[Download RAW message or body]

Edit report at https://bugs.php.net/bug.php?id=74441&edit=1

 ID:                 74441
 Updated by:         vrana@php.net
 Reported by:        bruce dot ingalls at gmail dot com
 Summary:            Documentation differs from reflection
-Status:             Open
+Status:             Not a bug
 Type:               Documentation Problem
 Package:            geoip
 PHP Version:        7.0.18
 Block user comment: N
 Private report:     N

 New Comment:

Reflection is wrong. The function fails without the parameter which is what PHP Manual documents.


Previous Comments:
------------------------------------------------------------------------
[2017-04-14 14:50:43] bruce dot ingalls at gmail dot com

Description:
------------
---
From manual page: http://www.php.net/function.geoip-country-code-by-name
---
Claims that a $hostname parameter is required, but reflection disagrees

Test script:
---------------
php --rf geoip_country_code_by_name
// No parameters

Expected result:
----------------
I expect reflection to require or allow a parameter,

Actual result:
--------------
Function [ <internal:geoip> function geoip_country_code_by_name ] {
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74441&edit=1

-- 
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic