php tutorial - PHP strtolower & strtoupper - php programming - learn php - php code - php script






  • strtolower function is Used for converting all the string characters to lower case letters.
  • strtoupper function is being Used to convert all string characters to Upper case letters.

php scripts Syntax :

strtolower(string);
strtoupper(string);
click below button to copy the code. php tutorial - team

php 7 Sample Code : sample php program

<!DOCTYPE html>
<html>
    <body>
        <?php
            echo strtolower('WIKITECHY');
            echo strtoupper('wikitechy');
        ?>
    </body>
</html>
click below button to copy the code. php tutorial - team

php programmer Code Explanation :

Code Explanation for strtolower strtoupper Function In PHP

  1. echo statement “WIKITECHY” text string is converted as uppercase to lower case using the “strtolower” string function.
  2. echo statement “wikitechy” text string is converted as lowercase to upper case using the “strtoupper” string function.

php development Sample Output :

output for strtolower strtoupper Function In PHP

  1. In this output the term “WIKITECHY” has been changed to lowercase.
  2. Similarly, the term “wikitechy” has been changed to uppercase.


Related Searches to php strtolower strtoupper function

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×