Summary of some php system functions and php function _ PHP Tutorial

Source: Internet
Author: User
Summarize some php system functions and php functions. I will summarize some php system functions for you, and summarize the php functions which I think are more detailed. please hurry up and add them to favorites! PHP system functions assert function: check the assertion declaration to summarize some php system functions and php functions.

I think the sorting is more detailed. please hurry up and add it to favorites!

PHP system functions

Assert function:Check whether the assertion declaration is correct
Extension_loaded function:Check whether PHP extensions are loaded
Get_cfg_var function:Obtain the PHP configuration option value
Get_current_user function:Get the name of the owner of the current PHP script
Get_defined_constants function:Returns an array containing PHP predefined constants.
Get_extension_funcs function: Returns an array containing the names of all functions in the specified module.
Get_include_path function:Returns the information of 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 loaded modules.
Get_magic_quotes_gpc function:Obtain magic_quotes_gpc status information
Get_magic_quotes_runtime function:Obtain magic_quotes _ runtime status information
Get_required_files function:Returns an array of file information.
Getenv function:Get the PHP environment variable value

PHP system functions

Getlastmod function:Obtain the last modification time of the current PHP page File
Getmygid function:Get the GID number of the current PHP script page owner
Getmyinode function: Get the INODE number of the current PHP script page
Getmypid function:Obtain the PHP PID
Getmyuid function:Obtain the UID of the PHP script page owner
Getopt function:Get settings from the command line parameter list
Getrusage function:Obtain the current resource syntax
Ini_get_all function:Get all configuration options
Ini_get function:Obtains the value of the configuration option.
Memory_get_usage function:Returns the memory space occupied by the PHP script.
Php_ini_scanned_files function:Return to the configuration file list in the configuration file directory.
Php_logo_guid function:Get the GUID of the LOGO image
Php_sapi_name function:Obtain the interface type between PHP and Web server
Php_uname function:Obtain the operating system information for running PHP scripts.
Phpcredits functions:Print the credits list
Phpinfo function:Output PHP information
Phpversion function:Get PHP version
Zend_logo_guid function:Get the GUID of the zend logo image
Zend_version function:Obtain the ZEND Engine version

PHP configuration functions

Assert_options function:Set or obtain different declaration tags
Ini_alter function:Set the PHP configuration option value
Ini_restore function:Restore configuration options
Ini_set function:Set the PHP configuration option value
Putenv function:Set environment variables
Restore_include_path function:Recovery file contains path configuration information
Set_include_path function:Set file inclusion path configuration options
Set_magic_quotes_runtime function:Set magic_quotes runtime
Set_time_limit function:Set the maximum execution time

Other functions

Dl functions:Load PHP extension modules
Main function:It is only a main () function with a name.
Version_compare function:Compare PHP versions

The above are all php system functions, and hope to help you learn.

I think the sorting is more detailed. please add it to your favorites! PHP system function assert function: check the assertion declaration...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.