Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier vendor/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