Converts a string to sentence case
str_case_sentence(string $string): string
string
The input string
Returns the input string in sentence case.
Example # 1 Example uses of str_case_sentence()
echo str_case_sentence('Some random sentence');
The above example will output:
Some random sentence