PHP » GoLang |
login |
register |
about
|
GoLang Normalizer::getRawDecomposition
request it (358)
GoLang replacement for PHP's Normalizer::getRawDecomposition
[edit | history]
PHP Normalizer::getRawDecompositionPHP original manual for Normalizer::getRawDecomposition [ show | php.net ]Normalizer::getRawDecompositionnormalizer_get_raw_decomposition(PHP 7 >= 7.3) Normalizer::getRawDecomposition -- normalizer_get_raw_decomposition — Gets the Decomposition_Mapping property for the given UTF-8 encoded code point DescriptionObject oriented style
public
static
string
Normalizer::getRawDecomposition
( string
$input
)Procedural style
string normalizer_get_raw_decomposition
( string
$input
)Gets the Decomposition_Mapping property, as specified in the Unicode Character Database (UCD), for the given UTF-8 encoded code point. Parameters
Return ValuesReturns a string containing the Decomposition_Mapping property, if present in the UCD.
Returns ExamplesExample #1 Normalizer::getRawDecomposition() example
<?php The above example will output: --------------------- '61' has no decomposition mapping error info: 'U_ZERO_ERROR' (0) --------------------- 'efbf9a' has the decomposition mapping 'e385a1' error info: 'U_ZERO_ERROR' (0) --------------------- 'efb7ba' has the decomposition mapping 'd8b5d984d98920d8a7d984d984d98720d8b9d984d98ad98720d988d8b3d984d985' error info: 'U_ZERO_ERROR' (0) --------------------- '' has no decomposition mapping error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ERROR' (1) --------------------- '6161' has no decomposition mapping error info: 'Input string must be exactly one UTF-8 encoded code point long.: U_ILLEGAL_ARGUMENT_ERROR' (1) --------------------- 'f5' has no decomposition mapping error info: 'Code point out of range: U_ILLEGAL_ARGUMENT_ERROR' (1) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|