PHP常用函数学习笔记

来源:互联网 发布:鸿运通网络 编辑:程序博客网 时间:2024/05/22 21:41


str_replace() 函数以其他字符替换字符串中的一些字符(区分大小写)。

str_replace(find,replace,string,count)


html_entity_decode()函数把 HTML 实体转换为字符。

html_entity_decode() 函数是 htmlentities() 函数的反函数。

html_entity_decode(string,flags,character-set)


explode()函数把字符串打散为数组。

explode(separator,string,limit)


implode() 函数返回由数组元素组合成的字符串。

implode(separator,array)




0 0
原创粉丝点击