strtolower()


string strtolower (string $str )

Description

strtolower() converts all alphabetic characters of a string to lowercase

※ available F/W version : all

Parameters

Return values

Returns the lowercased string, PHP error on error

Example

<?php
$str_org = "Hello PHPoC!";
$str_lower = strtolower($str_org);
printf("str_org = %s, str_lower = %s\r\n", $str_org, $str_lower);  
// OUTPUT: str_org = Hello PHPoC!, str_lower = hello phpoc!
?>

See also

strtoupper()

Remarks

This function is identical to the PHP group’s strtolower() function.