strlen

strlen

(PHP 4, PHP 5, PHP 7)

strlenGet string length

Description

int strlen ( string $string )

Returns the length of the given string.

Parameters

string

The string being measured for length.