Answers for "lower case a string php"

PHP
7

tolower php

The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
Posted by: Guest on March-23-2020
0

php to lowercase

<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
echo $str; 
// Result: mary had a little lamb and she loved it so
Posted by: Guest on January-18-2021

Browse Popular Code Answers by Language