PHP strtoupper() Function


The strtoupper() function is used to convert the string to uppercase.

Syntax
strtoupper(string)
Parameters
  • String - (Required) Specify the string to convert.
Example
<?php
    echo strtoupper("good morning.");
?>

Output

GOOD MORNING.	

Prev Next