Function __global->octdec

Definitions

sources_custom/phpstub.php

  • String representation of octal to decimal.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$octal_string string No No required parameter N/A N/A The string representation

Returns

  • The integer ('decimal' form, although truly stored in binary)
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

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

function octdec(string $octal_string) : int