strtoupper() / strtolower()
Converts to uppercase / lowercase.
Syntax
strtoupper($text)
Description
Returns new text; does not change the original.
Example
Loading editor…
Expected output
HEXLIBRARY
When to use?
Ignoring case sensitivity in comparisons.