How strtolower function works?

 Published April 23,2010 in PHP

string strtolower ( string str )
 

Returns string with all alphabetic characters converted to lowercase.

 

Note that 'alphabetic' is determined by the current locale. This means that in i.e. the default "C" locale, characters such as umlaut-A (Ä) will not be converted.

Example 1. strtolower() example

 

$str = "Mary Had A Little Lamb and She LOVED It So"; $str = strtolower($str); echo $str; // Prints mary had a little lamb and she loved it so

 

 

Note: This function is binary-safe.



Like our site? Be a member of Coolajax fan page to get daily posts updates!

recommended-tutorial You May Like This Posts!

» How to strrev function work?

» How to strtoupper function works?

» vfprintf function in php

» How to substr function works?

» How PHP Works with the Web Server

  tuts_view Total Read: 519
blog comments powered by Disqus

Topics

Coolajax Fans

coolajax fan page on Facebook