+1 vote
in PHP by
Which of the following is the use of strlen() function in PHP?

a) The strlen() function returns the type of string

b) The strlen() function returns the length of string

c) The strlen() function returns the value of string

d) The strlen() function returns both value and type of string

1 Answer

0 votes
by
b) The strlen() function returns the length of string

Description: The strlen() function is predefined function of PHP. It is used to find the length of string or returns the length of a string including all the whitespaces and special character.

Related questions

+1 vote
asked May 13, 2022 in PHP by john ganales
+1 vote
asked May 13, 2022 in PHP by john ganales
...