Answers for "php uppercase"

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

first character uppercase php

ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
Posted by: Guest on August-21-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
0

php string mayusculas

<?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
?>
Posted by: Guest on July-03-2020
2

php change sting to caps

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

echo $uppercase;
Posted by: Guest on June-26-2020

Browse Popular Code Answers by Language