Home >php教程 >php手册 >php函数笔记

php函数笔记

WBOY
WBOYOriginal
2016-06-13 10:38:161062browse

字符串函数:
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()

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