Wednesday, 22 February 2012

Q: what is strtoupper?


strtoupper — Make a string uppercase
<?php
$str 
= "Mary Had A Little Lamb and She LOVED It So";
$str = strtoupper($str);
echo 
$str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
?>

No comments:

Post a Comment