This article provides a detailed analysis of common Output and ptionsInfo function sets in php. For more information, see flush function: refresh the Output buffer.
Ob_clean function: clears the output buffer.
Ob_end_clean function: clears the buffer and disables the ongoing output buffer.
Ob_end_flush function: Sends buffer data and closes the buffer.
Ob_flush function: send buffer data
Ob_get_clean function: Gets the buffer content and ends the buffer.
Ob_get_contents function: get buffer data
Ob_get_flush function: refreshes the buffer data, returns the data, and disables the buffer.
Ob_get_length function: obtains the buffer length.
Ob_get_level function: obtains the buffer level.
Ob_get_status function: obtains the buffer status.
Ob_gzhandler function: the callback function used by ob_start to compress the output buffer.
Ob_implicit_flush function: enable or disable the original output buffer.
Ob_list_handlers function: lists all output handles used.
Ob_start function: Open the buffer
Output_add_rewrite_var function: add the URL rewrite value
Output_reset_rewrite_vars function: resets the URL rewrite value.
PHP information retrieval class functions
Assert function: Check whether the assertion declaration is correct.
Extension_loaded function: checks whether PHP extensions are loaded.
Get_cfg_var function: obtains the value of the PHP configuration option.
Get_current_user function: obtains the name of the owner of the current PHP script.
Get_defined_constants function: returns an array containing the predefined PHP constants.
Get_extension_funcs function: returns an array containing all function names in the specified module.
Get_include_path function: returns information about the path contained in the current configuration file.
Get_included_files function: returns an array of file information.
Get_loaded_extensions function: returns an array containing information about all load modules.
Get_magic_quotes_gpc function: obtains the status information of magic_quotes_gpc.
Get_magic_quotes_runtime function: obtains the status information of magic_quotes _ runtime.
Get_required_files function: returns an array of file information.
Getenv function: Get the PHP environment variable value
Getlastmod function: get the last modification time of the current PHP page File
Getmygid function: obtains the GID number of the current PHP script page owner.
Getmyinode function: Gets the INODE number of the current PHP script page.
Getmypid function: Get the PHP PID
Getmyuid function: obtains the UID number of the PHP script page owner.
Getopt function: Get settings from the command line parameter list
Getrusage function: get the current resource syntax
Ini_get_all function: gets all configuration options
Ini_get function: Gets the value of configuration options.
Memory_get_usage function: returns the memory space occupied by the PHP script.
Php_ini_scanned_files function: returns the configuration file list under the configuration file directory.
Php_logo_guid function: obtains the GUID of the LOGO image.
Php_sapi_name function: Gets the interface type between PHP and Web server
Php_uname function: obtains the operating system information of PHP scripts.
Phpcredits function: print the credits list
Phpinfo function: outputs PHP information.
Phpversion function: get PHP version
Zend_logo_guid function: obtains the GUID of the zend logo image.
Zend_version function: Gets the ZEND Engine version.
PHP configuration functions
Assert_options function: sets or obtains different declaration tags.
Ini_alter function: set the value of the PHP configuration option.
Ini_restore function: restores the value of the configuration option.
Ini_set function: set the value of the PHP configuration option.
Putenv function: set environment variables
Restore_include_path function: restores the file containing path configuration information.
Set_include_path function: sets the file inclusion path configuration options.
Set_magic_quotes_runtime function: sets the magic_quotes runtime.
Set_time_limit function: sets the maximum execution time.
Dl function: load the PHP Extension Module
Main function: it is only a main () function with a name.
Version_compare function: compare two PHP version values