Menu Samaritan's Purse

STRLEN

Get string length

SYNTAX

strlen ( string $string ) : int

PARAMETERS

string

The string being measured for length.

RETURN

The length of the string on success, and 0 if the string is empty.

EXAMPLES

12

PHP