Home >Backend Development >PHP Tutorial >php function notes_PHP tutorial
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()