Is it possible to have PHP stop execution upon a notice/warning, globally?
We run a development server with a lot of sites on, but want to force our developers to fi
You can turn on the error_reporting to E_ALL in PHP Configuration file of your server.
In PHP 5 a new error level E_STRICT is available. As E_STRICT is not included within E_ALL you have to explicitly enable this kind of error level. Enabling E_STRICT during development has some benefits. STRICT messages will help you to use the latest and greatest suggested method of coding, for example warn you about using deprecated functions.
Reference: PHP Configuration Manual
The following settings guide you to output all the errors in a script. Please note that these will need to be included in the start of all your script files.