For you to summarize some PHP system class function _php skill

Source: Internet
Author: User
Tags php script zend

Think that the collation of the more detailed, the pro, quickly collect it!

PHP System class functions

assert function: Check if assertion declaration is wrong
extension_loaded function: Check that the PHP extension is loaded
Get_cfg_var function: Gets the value of the PHP configuration option
get_current_user function: Gets the name of the owner of the current PHP script
get_defined_constants Function: returns an array containing PHP predefined constant information
get_extension_funcs function : Returns an array containing the names of all functions in the specified module
get_include_path Function: returns information for the currently configured file include path
get_included_files Function: Returns an array of file-containing information
get_loaded_extensions Function: returns an array containing all the loading module information
GET_MAGIC_QUOTES_GPC function: get status information for MAGIC_QUOTES_GPC
get_magic_quotes_runtime function: get status information for Magic_quotes_ runtime
get_required_files Function: Returns an array of file-containing information
getenv function: Gets the value of the PHP environment variable

PHP System class functions

getlastmod function: Gets the last modification time of the current PHP paging file
getmygid function: Gets 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 PHP pid
getmyuid function: Gets the UID number of the owner of the PHP script page
getopt function: getting settings from the command line argument list
getrusage function: Gets the current resource syntax
ini_get_all function: Get all configuration options
ini_get function: Gets the value of the configuration option
memory_get_usage Function: returns the memory space occupied by PHP scripts
php_ini_scanned_files Function: Returns a list of profiles in the configuration file directory
php_logo_guid function: get the GUID of the logo picture
php_sapi_name function: gets the interface type between PHP and the Web server
php_uname function: Get the operating system information of PHP script running
phpcredits function: Print credits list
phpinfo function: output PHP Information
phpversion function: get PHP version
zend_logo_guid function: gets the GUID of Zend's logo picture
zend_version function: Get the version of the Zend engine

PHP Configuration class functions

assert_options Function: Sets or gets a different declaration tag
ini_alter function: Set the value of the PHP configuration option
ini_restore function: Restore the value of the configuration option
ini_set function: Set the value of the PHP configuration option
putenv function: Setting environment variables
restore_include_path function: recovery file contains path configuration information
Set_include_path function: setting file contains path configuration options
set_magic_quotes_runtime function: set magic_quotes run time
set_time_limit function: set maximum execution time

Other class functions

DL function: load PHP Extension Module
main function: just a nominal main () function
version_compare function: compare PHP Two version values

All of the above is the PHP system class functions, I hope to help you learn.

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.