The strtoupper function converts a string to uppercase.

    
    $text = "Hello World!";

    $textUppercase = strtoupper($text);

    echo $textUppercase;
    // HELLO WORLD