On Sat, Dec 10, 2011 at 5:06 PM, Merlijn van Deen <valhall...@arctus.nl>wrote:

> On 10 December 2011 03:27, Hersfold <hersfoldw...@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
_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to