Convert All Lowercase Characters in a String to Uppercase using PHP

strtoupper function

<?php

$text = 'Hello world';
$result = strtoupper($text);

echo $result; // HELLO WORLD

Leave a Comment

Cancel reply

Your email address will not be published.