strtoupper 将字符串转化为大写 &reftitle.description; stringstrtoupper stringstring string 中所有 ASCII 字母字符转换为大写并返回。 "a"(0x61)到 "z"(0x7a)范围内的字节会通过将每个字节值减 32 转为相应的大写字母。 这可用于转换用 UTF-8 编码的字符串中的 ASCII 字符,但会忽略多字节 UTF-8 字符。要转换多字节非 ASCII 字符,请使用 mb_strtoupper &reftitle.parameters; string 输入字符串。 &reftitle.returnvalues; 返回转换后的大写字符串。 &reftitle.changelog; &Version; &Description; &strings.changelog.ascii-case-conversion; &reftitle.examples; <function>strtoupper</function> 示例 ]]> &reftitle.notes; ¬e.bin-safe; &reftitle.seealso; strtolower ucfirst ucwords mb_strtoupper