AFAIK phpinfo() is not "magical". All the information is normal web server environment stuff that can otherwise be easily obtained through other functions in PHP, and phpinfo() just happens to be a convenient way to display that information for debugging or whatever. Even if you could disable phpinfo(), it does not hide the underlying information in any way.
|