phpget all uppercase lettewrs code example Example: php code to convert to small letter $str = strtolower($str);