PHP system functions

Source: Internet
Author: User
PHP system functions

PHP system 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

PHP system functions

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.

Other functions

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

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.