PHP String Functions

strtolower() Function

Definition and Usage

The strtolower() function converts a string to lowercase.


Syntax

strtolower(string)


Parameter Description
string Required. Specifies the string to reverse

Example

Convert all characters to lowercase:

<?php
echo strtolower("Hello WORLD.");
?>

Run Example>>