php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47839 upgrade notes need to indicate that gethostname function has been added
Submitted: 2009-03-30 15:55 UTC Modified: 2009-05-25 18:37 UTC
From: trichins at omniture dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: linux
Private report: No CVE-ID: None
 [2009-03-30 15:55 UTC] trichins at omniture dot com
Description:
------------
We have defined gethostname in our code and running it against php5.3 fails with an error message saying that it is already defined.  Nothing in the upgrade documentation indicates this new function and it doesn't have its own documentation on the php.net site.  I finally found out the issue by searching the internals email list.

So, I doubt it will get pulled, but documentation to indicate that it is a new function would be nice.  As well as any new functions like this.

Reproduce code:
---------------
<?php

echo gethostname();


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-21 02:23 UTC] fa@php.net
Patch for php-src/UPGRADING file submitted, documentation page still missing.
 [2009-05-07 11:19 UTC] kalle@php.net
As an update; patch for php-src/UPGRADING was committed a few weeks ago
 [2009-05-25 18:37 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.

gethostname() has been documented and should appear on php.net shortly
 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5e88572ce732b1b89f4578c113b083ed6d3db13c
Log: Fixed bug #47839 (upgrade notes need to indicate that gethostname function has been added) aka. Added gethostname() documentation
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 11:00:02 2026 UTC