PHP » GoLang |
login |
register |
about
|
gethostname(PHP 5 >= 5.3.0, PHP 7) gethostname — Gets the host name Description
string gethostname
( void
)
gethostname() gets the standard host name for the local machine. Return Values
Returns a string with the hostname on success, otherwise Examples
Example #1 A simple gethostname() example
<?php See Also
|
more
Recently updated
more
Most requested
more
Last requests
|