phpinfo()

[code lang=”php”]
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
[/code]

ref: php.net

Posted in PHP