.


Divya

strtolower() Function in PHP


In PHP the strtolower() function is used to converts a string to lowercase.

Syntax

strtolower(string)

Example

<!DOCTYPE html>
<html>
<body>
<?php echo strtoupper("STUDENTS TUTORIAL!"); ?>
</body>
</html>

Output

students tutorial!

Example 1

<!DOCTYPE html>
<html>
<body>
<?php echo strtoupper("WeLcoMe TO Students Tutorial!"); ?>
</body>
</html>

Output

welcome to students tutorial!



.