Name
phpinfo
Synopsis
void phpinfo([int what
])
Outputs a whole bunch of information about the state of the
current PHP environment, including loaded extensions, compilation
options, version, server information, and so on. If specified,
what
can limit the output to specific
pieces of information; what
may contain
several options ORed together. The possible values of
what
are:
| All information |
| General information about PHP |
| Credits for PHP, including the authors |
| Configuration and compilation options |
| Currently loaded extensions |
| Information about the PHP environment |
| A list of the current variables and their values |
| The PHP license |
Get Programming PHP, 2nd Edition 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.