Function __global->ord
Definitions
sources_custom/phpstub.php
- Return ASCII value of character.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $string | string | No | No | required parameter | N/A | N/A | String of length 1, containing character to find ASCII value of |
Returns
- The ASCII value
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Return ASCII value of character.
*
* @param string $string String of length 1, containing character to find ASCII value of
* @return integer The ASCII value
*/
function ord(string $string) : int
* Return ASCII value of character.
*
* @param string $string String of length 1, containing character to find ASCII value of
* @return integer The ASCII value
*/
function ord(string $string) : int

