Home >Backend Development >PHP Tutorial >php function notes_PHP tutorial

php function notes_PHP tutorial

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

String functions:
htmlspecialchars()
md5()
number_format()
preg_match()
trim()
printf()
str_replace()
strip_tags()
explode()
implode()
sprintf
strpos
strrchr
strrpos
strstr
substr

Array processing functions:
array_filter()
array_intersect()
array_merge()
array_pop()
array_push()
array_rand()
array_shift()
array_sum()
in_array()
range()
shuffle()
unique()

Date time function:
date()
getdate()
microtime()
mktime()

File system functions:
basename()
dirname()
file_get_contents()
filetype()
file()
fopen()
pathinfo()
readfile()

Session control function
setCookie()
session_destroy()
session_start()

Database mysqli module function:
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.htmlTechArticleString functions: 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