Displays information about PHP.
This function prints extensive information about the PHP installation, its configuration, the operating system, the environment etc. By default, all information possible is displayed, but the filter parameter can be used to show only the desired categories. The flags available are: INFO_GENERAL, INFO_CREDITS, INFO_CONFIGURATION, INFO_MODULES, INFO_ENVIRONMENT, INFO_VARIABLES, INFO_LICENSE, and INFO_ALL.
<?php
phpinfo();
?>
All information about PHP is printed. This makes a good first script to test a new PHP installation with.