The strtolower() function is used to converts a string to lowercase. All other special characters or numeric characters in the string remains unchanged. This function is binary-safe.
Syntax:
string – This parameter is required. It specifies the string to convert.
Example:
<?php
$str = 'Welcome to PHP Tutorials!';
echo strtolower($str); // Output : welcome to php tutorials!
?>
About Praveen Kumar
I am a fullstack web developer with a passion for SEO, creating stunning websites, and organic marketing. I am a perfectionist.
View all posts by Praveen Kumar