to small letters php code example
Example 1: convert string to lowercase in php
/* strtolower() function converts string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
Example 2: php convert to lowercase
<?php
echo strtolower("Convert THIS TEXT ALL TO LOWER CASE");
?>
Example 3: php code to convert to small letter
$str = strtolower($str);