Information Technology Questions and Answers Community

Function strtolower() in PHP

What is the use of strtolower() function in PHP? 

PHP        
Your Answer: 

1 Answers

It converts the string into lowercase. For example-

<?php

$str= “The WORLD is Beautiful”;

$str= strtolower($str);

echo $str;

?>

The output will be- the world is beautiful

Answered On 03 Apr at 11:44
Edit Account
LOGIN INFORMATION
Change Settings
Email Notifications Notifications will be sent to abcd@gmail.com
Select option for your email notifications:
Mature / News Filter We'll send on email when new jobs are posted
Option 2 for email notification We'll send on email when new jobs are posted