Description
The following code:
<?php
$txt = 'acme & co';
echo mb_convert_case($txt, MB_CASE_TITLE, 'UTF-8'), PHP_EOL;
Resulted in this output:
But I expected this output instead:
Using uc_words produces the expected result:
<?php
$txt = 'acme & co';
echo ucwords($txt), PHP_EOL;
results in
PHP Version
PHP 8.4.5, PHP 8.2.26
Operating System
No response