Ask: Code-level rewrite Phpinfo
For security reasons, you need to block or overwrite phpinfo () in some pages. But the evil of PHP does not support method coverage, covering the built-in method hints error, but ask you!
Only the local need to shield, dictation place or need to use Phpinfo debugging, and in the configuration of the modification is not too realistic, after all, some virtual host does not support the direct modification of php.ini, ask if you can directly in the PHP file block or replace the method of Phpinfo () method???
------Solution--------------------
Can be set with Ini_set ():
PHP Code
" . Ini_get (' Output_handler '). "\ n";? >
------Solution--------------------
Rewriting PHP built-in functions requires PECL APD extension support
See PECL APD official online for several years has not been updated, estimated support php5.3 have problems
------Solution--------------------
You can't do this. Disable_functions settings can not be set through Ini_set settings, only directly in the php.ini file, and then PHP is certainly not supported by your default function of the replication