Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | PHP Quiz | Set-2 | Question 6

  • Last Updated : 20 Sep, 2021

Which of the following is used to calculate a number of character values in PHP?
(A) count($variable)
(B) len($variable)
(C) strcount($variable)
(D) strlen($variable)


Answer: (D)

Explanation: The strlen($variable) is used to calculate the number of character values in PHP.It takes an argument as the variable.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :