strlen Get string length &reftitle.description; intstrlen stringstring Returns the length of the given string. &reftitle.parameters; string The string being measured for length. &reftitle.returnvalues; The length of the string on success, and 0 if the string is empty. &reftitle.examples; A <function>strlen</function> example ]]> &reftitle.notes; strlen returns the number of bytes rather than the number of characters in a string. strlen returns &null; when executed on arrays, and an E_WARNING level error is emitted. &reftitle.seealso; count grapheme_strlen iconv_strlen mb_strlen