Answers for "php all caps"

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