Doc #79619 [Opn->Nab]: gethostname() should mention FQDN

From: Date: Thu, 21 May 2020 19:57:51 +0000
Subject: Doc #79619 [Opn->Nab]: gethostname() should mention FQDN
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17607@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79619&edit=1 ID: 79619 Updated by: requinix@php.net Reported by: lkmorlan at uwaterloo dot ca Summary: gethostname() should mention FQDN -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: PHP is merely reporting what your system says. There's no logic about making it fully-qualified or not. Previous Comments: ------------------------------------------------------------------------ [2020-05-21 19:33:03] lkmorlan at uwaterloo dot ca Description: ------------ --- From manual page: https://php.net/function.gethostname --- The documentation does not say anything about whether the return value is a fully-qualified domain name or not; sometimes it is, sometimes it is not. It should mention that it could return either and explain what causes it to do one or the other. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79619&edit=1

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