Function __global->php_return_bytes

Definitions

sources/files.php

  • Get the number of bytes for a PHP config option. Code taken from the PHP manual.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$val string No No required parameter N/A N/A PHP config option value

Returns

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

Preview

Code (PHP)

/**
 * Get the number of bytes for a PHP config option. Code taken from the PHP manual.
 *
 * @param  string $val PHP config option value
 * @return integer Number of bytes
 */

function php_return_bytes(string $val) : int