Articles → PHP → Strlen Function In PHPStrlen Function In PHPIn this article, we will discuss the strlen function in PHP.Purpose strlen function returns the length of the given string.Example <!DOCTYPE html> <html> <body> <?php echo "The length of the string is:". strlen("Gyansangrah"); ?> </body> </html>Output Click to EnlargePosted By - Karan Gupta Posted On - Friday, October 9, 2020 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
<!DOCTYPE html> <html> <body> <?php echo "The length of the string is:". strlen("Gyansangrah"); ?> </body> </html>
Query/Feedback