To determine if it is empty:
Empty () Isset ()
Type conversions:
Unset () intval () floatval () Strtotime () Htmlspecialchars ()
Array:
Is_array () In_array () explode () serialize () array_key_exists () Array_search () Array_merge () Array_unique () Array_push ( ) Array_slice () Array_filter () Array_keys () array_values () array_sum () sort () end () Json_encode () count ()
PS: The parameter in the Count method of the array, and returns 1 if it is not an array
String:
Trim () Strrpos () strops () substr () Substr_replace () explode () Nl2brjson_decode ()
Time:
Time () mktime () date, Strtotime, Microtime, Mktime, Time, localtime
Image:
Imagecreatetruecolor, Imagecolorallocate, Imagefilledrectangle, Imagerectangle, Imagecreatefrompng, Imagesx, Imagesy , Imagecopy, Imagettfbbox, Imagettftext, Imagepng, Imagedestroy
File:
BaseName, DirName, file_exists, File_put_contents, file_get_contents, Fclose, fopen
PHP Common functions