php stro to lower code example
Example 1: strtolower php
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'
Example 2: php convert to lowercase
<?php
echo strtolower("Convert THIS TEXT ALL TO LOWER CASE");
?>