<?php
echo $s = "\u{0071}\u{0307}\u{0323}";
echo "\n";
echo mb_strlen(Normalizer::normalize($s, Normalizer::FORM_C), "UTF-8");
// Shows 3 because there is no precomposed equivalent
// for such glyph. I want to get 1 instead
q̣̇
Fatal error: Uncaught Error: Class "Normalizer" not found in /in/L1kPl:7
Stack trace:
#0 {main}
thrown in /in/L1kPl on line 7
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 7.4.33
q̣̇
Fatal error: Uncaught Error: Class 'Normalizer' not found in /in/L1kPl:7
Stack trace:
#0 {main}
thrown in /in/L1kPl on line 7
Process exited with code 255.