how tdo you convert a stringto lowercase in php
snippet in php

strtolower php

user6431

strtolower ( string $string ) : string 
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
$string = 'HeLlO WoRlD';
echo strtolower($string); //Output: 'hello world'

how tdo you convert a stringto lowercase in php

user1765

strtolower ( string $string ) : string 
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'

tolower php

user9602

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.