Function __global->chr

Definitions

sources_custom/phpstub.php

  • Return a specific character.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$ascii integer No No required parameter N/A N/A The ASCII code for the character required

Returns

  • A string of length 1, where the first character is as requested
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Return a specific character.
 *
 * @param  integer $ascii The ASCII code for the character required
 * @return string A string of length 1, where the first character is as requested
 */

function chr(int $ascii) : string