php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52662 Documentation does not reflect getprotobynumber behaviour with proto not found
Submitted: 2010-08-21 16:20 UTC Modified: 2010-08-21 16:27 UTC
From: olivier at creativ-it dot net Assigned: degeberg (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: olivier at creativ-it dot net
New email:
PHP Version: OS:

 

 [2010-08-21 16:20 UTC] olivier at creativ-it dot net
Description:
------------
getprotobynumber() documentation page should state something like "Returns the 
protocol name or false if the protocol is not found." instead of "Returns the 
protocol name as a string.". 

=> it should be something close to the getprotobyname() documentation page, which 
is good.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-21 16:27 UTC] degeberg@php.net
Automatic comment from SVN on behalf of degeberg
Revision: http://svn.php.net/viewvc/?view=revision&revision=302610
Log: Fixed PHP bug #52662 (Documentation does not reflect getprotobynumber behaviour with proto not found)
 [2010-08-21 16:27 UTC] degeberg@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: degeberg
 [2010-08-21 16:27 UTC] degeberg@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC