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

PHP其他系统函数

2016-06-05 21:51 633 查看
自己会查,并需要去查:

· 字符串函数:

o 输出与格式化:echo , print, printf, print_r, var_dump.

o 字符串去除与填充:trim, ltrim, rtrim, str_pad

o 字符串连接与分割:implode, join, explode, str_split

o 字符串截取:substr, strchr, strrchr,

o 字符串替换:str_replace, substr_replace

o 字符串长度与位置: strlen, strpos, strrpos,

o 字符转换:strtolower, strtoupper, lcfirst, ucfirst, ucwords

o 特殊字符处理:nl2br, addslashes, htmlspecialchars, htmlspecialchars_decode,

· 时间函数:

o time, microtime, mktime, date, idate, strtotime, date_add, date_diff, date_default_timezone_set, date_default_timezone_get

· 数学函数:

o max, min, round, ceil, floor, abs, sqrt, pow, round, rand
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  php基础笔记