Answers for "how to lowercase string php"

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
2

php convert to lowercase

<?php
echo strtolower("Convert THIS TEXT ALL TO LOWER CASE");
?>
Posted by: Guest on August-25-2020

Browse Popular Code Answers by Language