Function __global->bindec

Definitions

sources_custom/phpstub.php

  • Binary (string representation) to decimal (integer).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$binary_string string No No required parameter N/A N/A Binary in string form

Returns

  • Number
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Binary (string representation) to decimal (integer).
 *
 * @param  string $binary_string Binary in string form
 * @return integer Number
 */

function bindec(string $binary_string) : int