Table of Contents
The PHP strlen() is used to get the length of a string. It also includes the white spaces inside the string.
Syntax:
string – This parameter is required. It specifies the length of the string including all the special characters and whitespaces.