Answers for "php sting to lower case"

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 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

Browse Popular Code Answers by Language