Anglais [??p?(r)] US [??p?]

adj Ci-dessus?; statut supérieur?; couche supérieure

n.

Fonction php strtoupper() syntaxe

Fonction?: Convertir tous les caractères en majuscules

Syntaxe?: strtoupper(string)

Paramètres?:

Paramètre Description
string Obligatoire, requis pour être converti String

Description?: La fonction strtoupper() convertit la cha?ne en majuscule. Cette fonction est binaire.

Fonction php strtoupper() exemple

<?php
$i = "hello world";
$j = strtoupper($i);
echo $j;
?>

Exécuter l'instance?

Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne

Sortie?:

HELLO WORLD
<?php
$i = "I'm study in php.cn";
$j = strtoupper($i);
echo $j;
?>

Exécuter l'instance?

Cliquez sur le bouton ??Exécuter l'instance?? pour voir l'instance en ligne

Sortie?:

I'M STUDY IN PHP.CN