Answers for "php force small letters"

PHP
4

how tdo you convert a stringto 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'
Posted by: Guest on April-14-2020
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

Browse Popular Code Answers by Language