Answers for "upper case php"

PHP
9

php string to uppwe

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

echo $uppercase;
// THIS IS LOWER CASE
Posted by: Guest on February-24-2020
11

php uppercase

//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"
Posted by: Guest on September-01-2020
4

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 ?
?>
Posted by: Guest on June-23-2020
4

strtoupper php

string strtoupper ( $string )
Posted by: Guest on March-27-2020
1

php uppercase with accent

<?php
function strtoupperWithAccents($string) {
   $string = strtoupper($string);
   $string = str_replace(
      array('é', 'è', 'ê', 'ë', 'à', 'â', 'î', 'ï', 'ô', 'ù', 'û'),
      array('É', 'È', 'Ê', 'Ë', 'À', 'Â', 'Î', 'Ï', 'Ô', 'Ù', 'Û'),
      $string
   );
   return $string;
}
Posted by: Guest on October-15-2021
2

strtoupper

<?php
echo strtoupper("Hello WORLD!");
?>
Posted by: Guest on June-26-2020

Browse Popular Code Answers by Language