Monthly Archives: July 2013

strtolower() – string to lower case

Now and then you will want to convert your string to lower case. At times when using associative arrays, I prefer to use lower case strings because it’s easier to remember and a good practice to follow the same coding standard, also associative arrays are case sensitive.

The function strtolower() accepts one parameter (string) and returns lower case string on success.

Example:

Simple but powerful.