Answers for "uppercase to lowercase in php"

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
4

how to convert string word to lowercase in php

strtolower ( string $string ) : string 
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
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 June-19-2020
2

php convert to lowercase

<?php
echo strtolower("Convert THIS TEXT ALL TO LOWER CASE");
?>
Posted by: Guest on August-25-2020
2

php string to uppercase

<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
echo $str; // show: MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
Posted by: Guest on February-09-2021

Code answers related to "uppercase to lowercase in php"

Browse Popular Code Answers by Language