capitalize.php
Table of Contents
Functions
- capitalize() : string
- Capitalizes a string: uppercases the first character and lowercases the rest (multibyte-safe).
Functions
capitalize()
Capitalizes a string: uppercases the first character and lowercases the rest (multibyte-safe).
capitalize(string $source) : string
Parameters
- $source : string
-
The input string.
Tags
Return values
string —The capitalized string.