Which function is used to get the length of a string in PHP?

Explanation:

strlen() returns the number of characters in a string.

Explore more in Computer Science: