Which of the following function returns the number of characters in a string variable?

  1. count($variable)

  2. len($variable)

  3. strcount($variable)

  4. strlen($variable)


Correct Option: D

Find more quizzes: