Search code snippets, questions, articles...

Convert characters to lowercase using strtolower() function in PHP

   echo strtolower("WORLD IS BEAUTIFUL");
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool
world is beautiful

In PHP if you want to convert all characters of a string to lowercase, you can use simple PHP function strtolower(string) for this purpose. Pass your string as a parameter in strtolower() function and it will convert all its characters to lowercase.

Was this helpful?