php常用字符串处理函数,附带运行案例 1、strlen($str); 返回字符串长度2、mb_strlen($str) 可以返回中文字符长度;3、strtolower($str); 字母转小写4、strtoupper($str); 字