phpinfo

int phpinfo(void) 

Displays PHP and system information.

Returns:

HTML output

Description:

Outputs useful information about the version of PHP used, supported and loaded modules, configuration options, and environment variables. This function can be very useful when debugging PHP setup and use.

Example:

Display PHP information
phpinfo(); 

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.