strtoupper(): Convert a string to uppercase : strtoupper « String « PHP






strtoupper(): Convert a string to uppercase

 
its syntax is: string strtoupper (string string)

<?
$sentence = "cooking";
$sentence = strtoupper($sentence);
print $sentence;
?>
  
  








Related examples in the same category

1.Changing case of strings
2.Converting Case
3.string strtoupper ( string str ) returns that string entirely in uppercase characters.
4.strtoupper.php
5.Modifying capitalize( ) to take a reference parameter
6.Using the word case functions