← All built-ins / strtolower()

strtolower()

strtolower(string $s): string

Parameters

NameTypeDescription
$sstringinput string

Return value

The string with every ASCII letter lowercased.

Example

echo strtolower("Holy PHP");
holy php

See also

strtoupper()lcfirst()