1/* strtolower() function converts string to lowercase. */
2<?php
3echo strtolower("Hello WORLD 123");
4?>
5// Output:hello world 123
1/* The strtolower() function converts a string to lowercase.
2Convert all characters to lowercase.*/
3<?php
4echo strtolower("Hello WORLD.");
5?>
6// Output: hello world.
1strtolower ( string $string ) : string
2//Returns string with all alphabetic characters converted to lowercase.
3$string = 'HELLO WORLD';
4echo strtolower($string); //Output: 'hello world'
5The 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.
1/* There is a function in php wich convert all paragraph or
2string to lowercase*/
3<?php
4echo strtolower("Hey Samy, HAVE YOU CHECK THE LATEST MOVIE.");
5
6
7// Output: hey samy, have you check the latest movie.
8?>
9