Function __global->gethostname

Definitions

sources_custom/phpstub.php

  • Gets the host name.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Returns

  • Hostname (false: error)
  • Type: ~string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Gets the host name.
 *
 * @return ~string Hostname (false: error)
 */

function gethostname()