PHP strtoupper() Function

P
PHP strtolower() Function
PHP strtr() Function

what is the syntax of the STRTOUPPER() function in php?

strtoupper(string)
ParameterDescription
stringRequired. Specifies the string to convert
PHP STRTOUPPER() method

examples of the STRTOUPPER() function

Example 1. In this example, we convert all characters to uppercase.

<?php
echo strtoupper("Hello WORLD!");
?>
PHP strtolower() Function
PHP strtr() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z