PrimitiveType

PHP: convert a string into lower case letters

Use the strtolower() function to get a new string with upper case letters converted into lower case letters:

<?php $lcString = strtolower('THIS IS A STRING'); echo $lcString; // prints 'this is a string'

See also:
PHP: convert a string into upper case letters