You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.
PHP's ucwords implementation converts the first character to upper case.
This libraries ucwords converts the first character to upper case AND the rest of the characters to lowercase.
e.g.
$str = "MARY had A Little lamb aND sHe lOVED IT So";
echo ucwords($str); // MARY Had A Little Lamb AND SHe LOVED IT So
echo Patchwork\Utf8::ucwords($str); // Prints Mary Had A Little Lamb And She Loved It So
The text was updated successfully, but these errors were encountered:
PHP's ucwords implementation converts the first character to upper case.
This libraries ucwords converts the first character to upper case AND the rest of the characters to lowercase.
e.g.
$str = "MARY had A Little lamb aND sHe lOVED IT So";
echo ucwords($str); // MARY Had A Little Lamb AND SHe LOVED IT So
echo Patchwork\Utf8::ucwords($str); // Prints Mary Had A Little Lamb And She Loved It So
The text was updated successfully, but these errors were encountered: