您的位置:首页 > 编程语言 > PHP开发

PHP常用函数学习笔记

2016-12-02 17:42 519 查看
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)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: