Possible Duplicate:
ini_set() scope of effect?
I'm working on a site and for development I like to see my errors in the browser, so I have the following code at the top of my site:
error_reporting(E_ALL);
ini_set("display_errors", 1);
According to the php docs, ini_set "Sets the value of the given configuration option. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending." When I read that I was kind of worried. It seems like ini_set()
changes the setting globally and then restores it at the end of the script.
My question, does that means that any other php files that are running at the same time, on the same server will also display errors in the browser?