strtoupper() in php code example
Example 1: strtoupper in php
<?php
/* There is a function in php wich convert all string to uppercase */
echo strtoupper("Hello samy! how are u ?");
// output : HELLO SAMY! HOW ARE U ?
?>
Example 2: strtoupper in php
$str = "upper";
//php string to uppercase
echo strtoupper($str); // => UPPER