The function `gethostname()` returns the host name or false on failure, but it is not present in the library. [Documentation on PHP.net](https://www.php.net/manual/en/function.gethostname.php#refsect1-function.gethostname-returnvalues) > Returns a string with the hostname on success, otherwise FALSE is returned.