php to small character code example Example: php code to convert to small letter $str = strtolower($str);