Definition
The strtolower() function is used to convert a string to lowercase.
Syntax
strtolower(string)
Parameters
Parameter | Description |
---|---|
string |
Required. Specifies the string to convert. |
Example
<?php
echo strtolower("Welcome to PHP!");