How to find String Length in PHP?
The PHP strlen() function returns the length of a string. String length count will include space & special characters as well.
Syntax: strlen(string);
Example:
echo strlen("Hello world!");
Tutorials Class - Output Window
12
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| No Content Found. |