Easy Tutorial
❮ Func Math Log10 Func Filesystem File Get Contents ❯

PHP strtoupper() Function

PHP String Reference Manual

Example

Convert all characters to uppercase:


Definition and Usage

The strtoupper() function converts a string to uppercase.

Note: This function is binary-safe.

Related functions:


Syntax

Parameter Description
string Required. Specifies the string to convert.

Technical Details

Return Value: Returns the string converted to uppercase.
PHP Version: 4+
--- ---
❮ Func Math Log10 Func Filesystem File Get Contents ❯