string php para uppwe
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
Whale
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
// THIS IS LOWER CASE
<?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 ?
?>
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);
echo $uppercase;
string strtoupper ( $string )
setlocale(LC_CTYPE, 'de_DE.UTF8');
// be noted
echo strtoupper('Umlaute äöü in uppercase'); // outputs "UMLAUTE äöü IN UPPERCASE"
echo mb_strtoupper('Umlaute äöü in uppercase', 'UTF-8'); // outputs "UMLAUTE ÄÖÜ IN UPPERCASE"
$str = "upper";
//php string to uppercase
echo strtoupper($str); // => UPPER