Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP strtolower() Function

PHP strtolower() Function

PHP String Reference Manual PHP String Reference Manual

Example

Convert all characters to lowercase:

Run Example »


Definition and Usage

The strtolower() function converts a string to lowercase.

**Note:** This function is binary-safe.

Related functions:


Syntax

strtolower(

string

)

Parameters Description
string Required. Specifies the string to convert.

Technical Details

Return Value: Returns the string converted to lowercase.
PHP Version: 4+

PHP String Reference Manual PHP String Reference Manual