On Sat, Dec 10, 2011 at 5:06 PM, Merlijn van Deen <valhallasw(a)arctus.nl>wrote;wrote:
On 10 December 2011 03:27, Hersfold
<hersfoldwiki(a)gmail.com> wrote:
And right after I sent this, someone showed me
what to do:
error_reporting(E_ALL);
ini_set('display_errors', 'On');
You should use error_reporting(-1) if you want *all* errors (-1 always is
the
maximum reporting level). In older PHP versions, this is equal to
E_ALL, but in newer ones it is equal to E_ALL | E_STRICT.
And don't forget to switch the errors off again once you are done
debugging :-)
Merlijn
As of PHP 5.4.0 E_STRICT (new in 5.0.0) is part of E_ALL again.
- Krinkle