strlen()
strlen - Get string length
Syntax
int strlen (
string $string)
Arguments
- string - The string being measured for length.
Description
Returns the length of the given string.
Version
PHP 4, 5
Return value
The length of the string on success, and 0if the string is empty.