Function __global->strlen

Definitions

sources_custom/phpstub.php

  • Get string length.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$str string No No required parameter N/A N/A The string to get the length of

Returns

  • The string length
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get string length.
 *
 * @param  string $str The string to get the length of
 * @return integer The string length
 */

function strlen(string $str) : int