Kim Van
0
Q:

php uppercase

$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);

echo $uppercase;
// THIS IS LOWER CASE
9
//string to all uppercase
$string = "String with Mixed use of Uppercase and Lowercase";
//php string to uppercase
$string = strtoupper($string);
// = "STRING WITH MIXED USE OF UPPERCASE AND LOWERCASE"
2
<?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 ?
?>
3
$lowercase = "this is lower case";
$uppercase = strtoupper($lowercase);

echo $uppercase;
2
<?php
echo strtoupper("Hello WORLD!");
?>
2
string strtoupper ( $string )
2

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

0
$str = strtolower($str);
1
$result = current(preg_grep("/".preg_quote($filename)."/i", glob("$path/*")));
1

New to Communities?

Join the community