This section contains the detail about strlen() function in PHP.
This section contains the detail about strlen() function in PHP.The strlen() function is used to find the length of a string.
Syntax is given below :
strlen(string)
The below example gives you a clear idea :
<?php echo strlen("Welcome to Devmanuals"); ?>
The output of the above code should be :
21