Function __global->decbin

Definitions

sources_custom/phpstub.php

  • Decimal (integer) to binary (string representation).
  • 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 Decimal

Returns

  • String representation of binary number
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Decimal (integer) to binary (string representation).
 *
 * @param  integer $number Decimal
 * @return string String representation of binary number
 */

function decbin(int $number) : string