function CharacterReference::lookupHex
Given a hexidecimal number, return the UTF-8 character.
Parameters
$hexdec:
Return value
false|string|string[]|null
1 call to CharacterReference::lookupHex()
- Tokenizer::decodeCharacterReference in vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Tokenizer.php - Decode a character reference and return the string.
File
-
vendor/
masterminds/ html5/ src/ HTML5/ Parser/ CharacterReference.php, line 57
Class
- CharacterReference
- Manage entity references.
Namespace
Masterminds\HTML5\ParserCode
public static function lookupHex($hexdec) {
return static::lookupDecimal(hexdec($hexdec));
}