ord
spatie/ignition
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Convert the first byte of a string to a value between 0 and 255
<?php ord
(
string $character
):
int