Added Normalizer::getRawDecomposition() Method

We already wrote about string normalization in a previous chapter. The opposite of normalization is character decomposition, the splitting of one character into an (equivalent) sequence of characters.

In PHP 7.3, the Normalizer class got a new method, namely getRawDecomposition(). In theory, this method should either return null or the decomposition mapping property of the given Unicode code point.

The bad news is that we did not get any non-null results out of that method, even the examples listed in the PHP manual did not work as expected. At the time of writing, we are not sure whether this is a bug in PHP’s intl extension or the ICU library.