When I use the PHP class Normalizer
(e.g. \Normalizer::normalize($string, Normalizer::FORM_KD);
) in my class Text.php
in custom namespace Utils
, I get the following error:
Fatal error: Class 'Utils\Normalizer' not found
in C:\xampp\htdocs\MyProject\src\Utils\text.php on line 380
My project runs under XAMPP with PHP 5.4.4. I know also that:
-
Normalizer
should work since PHP 5 >= 5.3.0. - The extension
php_intl.dll
is enabled in myphp.ini
file.
What am I missing?