Articles → PHP → Strlen Function In PHP

Strlen Function In PHP






Purpose





Example


<!DOCTYPE html>
<html>
	<body>
		<?php
echo "The length of the string is:". strlen("Gyansangrah");
?>
	</body>
</html>



Output


Picture showing the output of strlen function in php
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Friday, October 9, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250