strlen()
strlen(string $string) : integer
Returns the length of a string, using mb_strwidth if it is available.
Parameters
string | $string | The string to check its length |
Returns
integer —The length of the string