convert a string into uppercase php

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

echo $uppercase;
// THIS IS LOWER CASE$str = strtolower($str);
Source

Also in PHP: