strtoupper php
snippet in php

php change sting to caps

user7338

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

echo $uppercase;

php string mayusculas

user9336


<?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
?>

strtoupper php

user2544

string strtoupper ( $string )

strcasecmp php

user8859

<?php
echo strcasecmp("Hello world!","HELLO WoRLD!");
?>

<p>If this function returns 0, the two strings are equal.</p>

php code to convert to small letter

user669

$str = strtolower($str);