how to access contents of phpinfo in php code example Example: show phpinfo just modules phpinfo(INFO_MODULES);