overwrite the phpinfo() function?
<p>I was curious and was wondering if there was a way for me to make my own phpinfo() function?</p>

<pre><code>function phpinfo() {
   // show custom list of php.ini settings here
}
</code></pre>

<p>i tried this but i get a parse error because i named my function the same as the PHP built-in function.</p>

<p>I know you can change the way phpinfo() outputs its data (colors etc) but I haven't found a way where I can filter the content of the page.</p>

<p>I am letting people make sub domain when they register and with that i am letting them host their own files, but i wan't to limit the phpinfo output so that they can only see what i let them see.</p>

<p>I have full control over my PHP installation as I am running my site off a dedicated server if that helps any.</p>
