English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP String Character String Function Manual
The strtolower() function is used to convert a string to lowercase.
strtolower ( $string )
Convert all letter characters in string to lowercase and return.
Related Functions:
strtoupper() - Convert the string to uppercase
lcfirst() - Convert the first character of the string to lowercase
ucfirst() - Convert the first character of the string to uppercase
ucwords() - Convert the first letter of each word in the string to uppercase
Return String in Lowercase
Serial Number | Parameter and Description |
---|---|
1 | string String to Convert |
Try the following example to convert a string to lowercase:
<?php //The strtolower() function converts a string to lowercase echo strtolower("www.oldtoolbag.com"); ?>Test and See‹/›
Output Result
www.oldtoolbag.com