1<?php
2/* There is a function in php wich convert all string to uppercase */
3
4 echo strtoupper("Hello samy! how are u ?");
5
6// output : HELLO SAMY! HOW ARE U ?
7?>
1
2<?php
3$str = "Mary Had A Little Lamb and She LOVED It So";
4$str = strtoupper($str);
5echo $str; // muestra: MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
6?>
7
8