Answers for "php lowercase variable"

PHP
8

convert string to lowercase in php

/* strtolower() function converts  string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
Posted by: Guest on July-17-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