Full Case-Mapping and Case-Folding Support

Support for full case-mapping and case-folding has been added. Unlike simple case-mapping, full case-mapping may change the length of the string. For example:

<?php

mb_strtoupper ( "Straße" );

// Produces STRAßE on PHP 7.2

// Produces STRASSE on PHP 7.3

?>

MB_CASE_LOWER (used by mb_strtolower() (used by

MB_CASE_UPPER (used by mb_strtoupper() (used by

MB_CASE_TITLE

MB_CASE_FOLD

MB_CASE_LOWER_SIMPLE

MB_CASE_UPPER_SIMPLE

MB_CASE_TITLE_SIMPLE

MB_CASE_FOLD_SIMPLE (used by case-insensitive operations)

The different casing mapping and folding modes are available throughOnly unconditional, language agnostic full case-mapping is performed.