Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier joomla/string/src/phputf8/ord.php

Espaces de nommage

 utf8
 

Fonctions

 utf8_ord ($chr)
 

Documentation des fonctions

◆ utf8_ord()

utf8_ord (   $chr)

UTF-8 aware alternative to ord Returns the unicode ordinal for a character

Joomla modification - As of PHP 7.4, curly brace access has been deprecated. As a result this function has been modified to use square brace syntax See https://github.com/php/php-src/commit/d574df63dc375f5fc9202ce5afde23f866b6450a for additional references

Paramètres
stringUTF-8 encoded character
Renvoie
int unicode ordinal for the character
Voir également
http://www.php.net/ord
http://www.php.net/manual/en/function.ord.php#46267

Référencé par StringHelper\ord().