strlen — Get string length ... Parameters ¶. string. The string being measured for length. ... The length of the string on success, and 0 if the string is empty.
php.net