首頁  >  文章  >  後端開發  >  php函数笔记_PHP教程

php函数笔记_PHP教程

WBOY
WBOY原創
2016-07-13 17:39:431176瀏覽

字符串函数:
htmlspecialchars()
md5()
number_format()
preg_match()
trim()
printf()
str_replace()
strip_tags()
explode()
implode()
sprintf
strpos
strrchr
strrpos
strstr
substr

数组处理函数:
array_filter()
array_intersect()
array_merge()
array_pop()
array_push()
array_rand()
array_shift()
array_sum()
in_array()
range()
shuffle()
unique()

日期时间函数:
date()
getdate()
microtime()
mktime()

文件系统函数:
basename()
dirname()
file_get_contents()
filetype()
file()
fopen()
pathinfo()
readfile()

会话控制函数
setCookie()
session_destroy()
session_start()

数据库mysqli模块函数:
mysqli_connect_errno()
mysqli_fetch_accoc()
mysqli_fetch_array()
mysqli_fetch_object()
mysqli_fetch_row()
mysqli_query()
mysqli()

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/486293.htmlTechArticle字符串函数: htmlspecialchars() md5() number_format() preg_match() trim() printf() str_replace() strip_tags() explode() implode() sprintf strpos strrchr strrpos strstr substr...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn