15 1 0 4000 1 https://codeblock.co.za 300 true 0
theme-sticky-logo-alt

strtolower()

0 Comments

Programming Language

PHP [Versions: 4, 5, 7, 8]

Syntax

Typical Usage

Converting text to lowercase in PHP.

Accepted Parameters

  • string (string) (Required): The string you want to convert to lower case.

Return Value(s)

Returns the lowercased string.

Examples of strtolower()

Example 1

<?php
$name = "LONG JOHN SILVER";
echo strtolower($name);

The above output will be long john silver.

Was This Helpful?

Previous Post
isset()
Next Post
print_r()

0 Comments

Leave a Reply