Home > Article > Backend Development > PHP function index 1_PHP tutorial
Abs: Get the absolute value. Acos: Get the arc cosine value. ada_afetch: Get the return column of the database. ada_autocommit: Switch the automatic change function. ada_close: Close the Adabas D link. ada_commit: Modify the Adabas D database. ada_connect: Link to Adabas D database. ada_exec: Execute SQL instructions. ada_fetchrow: Get and return a column. ada_fieldname: Get the field name. ada_fieldtype: Get the field data type. ada_freeresult: Release the memory of the returned data. ada_numfields: Get the number of fields. ada_numrows: Get the number of returned columns. ada_result: Get the returned data. ada_resultall: Returns HTML table data. ada_rollback: Undo the current transaction. AddSlashes: Add slashes to the string. apache_lookup_uri: Get all URI related information. apache_note: Obtain and configure the request record of the apache server. array: Create a new array. array_walk: Allows user-defined functions to process each element in the array. arsort: Sort the array values from large to small. Asin: Get the arcsine value. asort: Sort the array values from small to large. aspell_check: Check a word. aspell_check-raw: Checks a word and does not change or correct it even if it is misspelled. aspell_new: Load a new dictionary. aspell_suggest: Check a word and provide spelling suggestions. Atan: Get the arctangent value. Atan2: Calculates the arctangent of a two number. base64_decode: Decode a BASE64 encoded string. base64_encode: Encode the string in BASE64. basename: Returns a file string without a path. base_convert: Convert the carry method of the number. bcadd: Add two high-precision numbers. bccomp: Compares two high-precision numbers. bcdiv: Divide two high-precision numbers. bcmod: Get the remainder of a high-precision number. bcmul: Multiply two high-precision numbers. bcpow: Find the power of a high-precision number. bcscale: Configure the default number of decimal points for all BC function libraries in the program. bcsqrt: Find the square root of a high-precision number. bcsub: Subtract two high-precision numbers. bin2hex: Convert binary to hexadecimal. BinDec: Convert binary to decimal. Ceil: Calculates the smallest integer greater than the specified number. chdir: change directory. checkdate: Verify the correctness of the date. checkdnsrr: Check the DNS records of the specified URL. chgrp: Change the group to which a file belongs. chmod: Change file attributes. Chop: Remove consecutive blanks. chown: Change the owner of the file. Chr: Returns the character of the ordinal value. chunk_split: Divide the string into small segments. clearstatcache: Clear the file status cache. closedir: close the directory handle. closelog: Close system logging. connection_aborted: Returns true if the connection is interrupted. connection_status: Get the connection status. connection_timeout: Returns true if it exceeds the PHP program execution time. convert_cyr_string: Convert Cyrillic strings to other strings. copy: Copy files. Cos: cosine calculation. count: Count the number of elements in a variable or array. crypt: Encrypt the string using DES encoding. current: Returns the current element in the array. date: Format the server's time. dbase_add_record: Add data to the dBase data table. dbase_close: Close the dBase table. dbase_create: Create dBase data table. dbase_delete_record: Delete data from the dBase data table. dbase_get_record: Get the data of dBase table. dbase_numfields: Get the number of fields in the dBase data table. dbase_numrecords: Get the number of columns in the dBase data table. dbase_open: Open the dBase table. dbase_pack: Clean up the dBase data table. dba_close: Close the database. dba_delete: Delete specified data. dba_exists: Check whether the key exists. dba_fetch: Retrieve specified data. dba_firstkey: Retrieve the first key value. dba_insert: Add data. dba_nextkey: Get the next key value. dba_open: Open the database link. dba_optimize: Optimize the database. dba_popen: Open and maintain the database connection. dba_replace: Change or add data. dba_sync: Database synchronization. dblist: Get DBM information. dbmclose: Close the DBM database. dbmdelete: Delete specified data. dbmexists: Check if the key exists. dbmfetch: Retrieve specified data. dbmfirstkey: retrieve the first key name. dbminsert: Add data. dbmnextkey: Get the next key value. dbmopen: Open a DBM database link. dbmreplace: Change or add data. debugger_off: Turn off the built-in PHP debugger. debugger_on: Use the built-in PHP debugger. DecBin: Convert decimal to binary. DecHex: Convert decimal to hexadecimal. DecOct: Convert decimal to octal. delete: useless items. die: Output information and interrupt the PHP program. dir: directory category class. dirname: Get the directory name in the path. diskfreespace: Get the remaining free space where the directory is located. dl: Load PHP extension module. doubleval: Convert the variable to double floating point type. each: Returns the index and value of the next element in the array. easter_date: Calculate Easter date. easter_days: Calculate the number of days between Easter and March 21st. echo: output string. empty: Determine whether the variable has been configured. end: Points the internal pointer of the array to the last element. ereg: String comparison analysis. eregi: String comparison analysis, regardless of case.eregi_replace: String comparison parsing and replacement, regardless of case. ereg_replace: String comparison parsing and replacement. error_log: Send an error message. error_reporting: Configure the level of error information reporting. escapeshellcmd: Remove special symbols from strings. eval: Substitute a value into a string. exec: Execute external programs. exit: End the PHP program. Exp: The natural logarithm e raised to the power. explode: split the string. extract: Import an array into the symbol table. fclose: Close an open file. FDF_close: Close the FDF file. FDF_create: Create a new FDF file. FDF_get_file: Get the value of /F key. FDF_get_status: Get the value of the /STATUS key. FDF_get_value: Get the value of the field. FDF_next_field_name: The name of the next field. FDF_open: Open FDF file. FDF_save: Save FDF file to file. FDF_set_ap: Configure display fields. FDF_set_file: configure /F key. FDF_set_status: Configure the /STATUS key. FDF_set_value: Configuration field value. feof: Tests whether the file pointer points to the end of the file. fgetc: Get the character pointed to by the file pointer. fgetcsv: Get the line pointed to by the file pointer and parse the CSV field. fgets: Get the line pointed to by the file pointer. fgetss: Get the line pointed to by the file pointer and remove the HTML language tags. file: Read the entire file into an array variable. fileatime: Get the last access time of the file. filectime: Get the last change time of the file. filegroup: Get the group to which the file belongs. fileinode: Get the inode value of the file. filemtime: Get the last modification time of the file. fileowner: Get the owner of the file. fileperms: Get the permission configuration of the file. filepro: Read FilePro Map files. filepro_fieldcount: Get the number of fields. filepro_fieldname: Get the field name. filepro_fieldtype: Get the field type. filepro_fieldwidth: Get the field width. filepro_retrieve: Get the specified cell data. filepro_rowcount: Get the number of columns. filesize: Get the size of the file. filetype: Get the type of file. file_exists: Check whether the file exists. flock: Lock the file. Floor: Computes the largest integer less than the specified number. flush: Clear the output buffer. fopen: Open a file or URL. fpassthru: Output all remaining data. fputs: Write to file pointer. fread: Read the file in byte format. FrenchToJD: Convert French republican calendar to Caesar day counting. fseek: Move the file pointer. fsockopen: Open the network Socket link. ftell: Get the file read and write pointer position. ftp_cdup: Return to the upper directory. ftp_chdir: Change path. ftp_connect: Open FTP link. ftp_delete: Delete the file. ftp_fget: Download the file and save it in the opened file. ftp_fput: Upload an open file. ftp_get: Download files. ftp_login: Log in to the FTP server. ftp_mdtm: Get the last modification time of the specified file. ftp_mkdir: Create a new directory. ftp_nlist: List all files in the specified directory. ftp_pasv: Switch active and passive transmission mode. ftp_put: Upload files. ftp_pwd: Get the current path. ftp_quit: Close the FTP connection. ftp_rawlist: List all files in the specified directory in detail. ftp_rename: Rename the file. ftp_rmdir: Delete directory. ftp_size: Get the size of the specified file. ftp_systype: Display server system. function_exists: Check whether the function is defined. fwrite: Write files in binary bit mode. getallheaders: Get all HTTP variable values. getdate: Get time and date information. getenv: Get the system environment variables gethostbyaddr: Return the machine name. gethostbyname: Returns the IP address. gethostbynamel: Returns all IPs of a machine name. GetImageSize: Get the length and width of the image. getlastmod: Returns the last modification time of the web page. getmxrr: Get the MX field of the DNS record of the specified URL. getmyinode: Returns the inode value of the web page. getmypid: Returns the PHP trip code. getmyuid: Returns the PHP user code. getrandmax: the maximum value of random numbers. getrusage: Returns system resource usage. gettimeofday: Get the current time. gettype: Get the type of variable. get_cfg_var: Get the PHP configuration option value. get_current_user: Get the owner name of the PHP process. get_magic_quotes_gpc: Get the value of the PHP environment variable magic_quotes_gpc. get_magic_quotes_runtime: Get the value of the PHP environment variable magic_quotes_runtime. get_meta_tags: Extract the data of all meta tags in the file. gmdate: Get the time difference between the current time and GMT. gmmktime: Get the Greenwich Mean Time of a UNIX timestamp. GregorianToJD: Convert Gregorian calendar to Caesar day counting. gzclose: Close the compressed file. gzeof: Determine whether it is at the end of the compressed file. gzfile: Read compressed files into an array. gzgetc: Read characters in compressed files. gzgets: Read strings in compressed files. gzgetss: Read strings in compressed files and remove HTML directives. gzopen: Open compressed files. gzpassthru: Decompress all data after pointer. gzputs: writes data to compressed files. gzread: Reads a string of specified length from a compressed file. gzrewind: Reset the compressed file pointer. gzseek: Sets the compressed file pointer to the specified location. gztell: Get the compressed file pointer. gzwrite: writes data to compressed files.header: Send the HTTP protocol header to the browser HexDec: Convert hexadecimal to decimal. htmlentities: Convert all characters into HTML strings. htmlspecialchars: Convert special characters to HTML format. hw_Children: Get the subclass code. hw_ChildrenObj: Get the class record of the subclass. hw_Close: Close the Hyperwave connection. hw_Connect: Connect to Hyperwave server. hw_Cp: Copy class. hw_Del