Home  >  Article  >  Backend Development  >  php函数笔记_PHP教程

php函数笔记_PHP教程

WBOY
WBOYOriginal
2016-07-13 17:39:431111browse

字符串函数:
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...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn