Konwertuj ciąg na małe litery w PHP
/* strtolower() function converts string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
Batman
/* strtolower() function converts string to lowercase. */
<?php
echo strtolower("Hello WORLD 123");
?>
// Output:hello world 123
strtolower ( string $string ) : string
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
$string = 'HeLlO WoRlD';
echo strtolower($string); //Output: 'hello world'
strtolower ( string $string ) : string
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
strtolower ( string $string ) : string
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
echo $str;
// Result: mary had a little lamb and she loved it so