Home  >  Article  >  Backend Development  >  The role of phpinfo function

The role of phpinfo function

藏色散人
藏色散人Original
2019-08-27 13:42:175043browse

The role of phpinfo function

The function of phpinfo function

The function of phpinfo function is to output PHP environment information and related modules and WEB environment and other information.

Syntax:

 int phpinfo(void);

Return value: integer

Function type: PHP system function

Content description

This function returns all information about PHP.

Includes PHP compilation options and extended configuration, PHP version, server information and environment variables, PHP environment variables, operating system version information, path and environment variable configuration, HTTP headers, and copyright declaration.

Recommended: [PHP Tutorial]

The above is the detailed content of The role of phpinfo function. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn