Function __global->decoct

Definitions

sources_custom/phpstub.php

  • Integer to string representation of octal.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$number integer No No required parameter N/A N/A The integer ('decimal' form, although truly stored in binary)

Returns

  • The string representation
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Integer to string representation of octal.
 *
 * @param  integer $number The integer ('decimal' form, although truly stored in binary)
 * @return string The string representation
 */

function decoct(int $number) : string