8. 有关函数的系统函数(记)

 

 其他的系统函数:

 常用内部函数:
        *字符串函数
                *输出与格式化:echo,print_r,var_dump,print,printf
                *字符串去除与填充:trim,ltrim,rtrim,str_pad
                *字符串连接与分割:implode,join,explode,str_split
                *字符串截取:substr,strchr,strrchr
                *字符串替换 :str_replace,substr_replace
                *字符串长度与位置:strlen,strpos,strrpos
                *字符转换:strtolower,strtoupper,lcfirst,ucfirst,ucwords
                *特殊字符处理:nl2br,addslashes,htmlspecialchars,htmlspecialchars_decode
posted @ 2017-12-24 21:45  友缘聚友  阅读(161)  评论(0编辑  收藏  举报