How to use strlen in PHP

In this article I will explain how strlen function used in PHP.
  • 1178

strlen() Function

This function reverses a string.

Syntax

strlen(string)

 

 Parameter  Description
 string  Required. Specifies the string to check

Example

<html>
<body>
<?php
echo
strlen("I Love Indian Airforce!");
?>
</body>
</html>

 

Output


strlen-php.jpg

You may also want to read these related articles Click here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.