The ______ function in PHP is used to return the length of a string.

  • strlen()
  • count()
  • size()
  • length()
The strlen() function in PHP is used to return the length of a string. It counts and returns the number of characters in a string. It is a built-in PHP function specifically designed for finding the length of a string. Learn more: https://www.php.net/manual/en/function.strlen.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *