PHP strtolower() function


In this article, We will explain to you PHP strtolower() function with example.

PHP strtolower() function

strtolower() function is a string function. which is accept string and retutn the lowercase string. so you can see our PHP String Function example.

Syntax

strtolower(string);

Example

<?PHP
    $str = "This is my Website!";
    
    echo (strtolower($str));
?>

Output

this is my website!