PHP/String/strtolower
Содержание
Changing case
<?
print strtolower("Beef, CHICKEN, Pork, duCK");
print strtoupper("Beef, CHICKEN, Pork, duCK");
?>
Controlling Case: string strtoupper ( string string ),string strtolower ( string str )
<?php
$submittedpass = "myPass";
$newpass = strtolower ($submittedpass);
echo $newpass;
?>
string strtolower ( string str ) returns that string entirely in lowercase characters.
<?
$string = "I like to program in PHP";
$a = strtolower($string);
?>
strtolower() function converts a string to all lowercase letters.
Its syntax is: string strtolower (string string)
<?
$sentence = "COOKING";
$sentence = strtolower($sentence);
print $sentence;
?>
strtolower.php
<?php
$url = "http://WWW.EXAMPLE.ru/";
echo strtolower($url);
?>