Hi

2009/2/11 Guilherme Blanco <guilhermebla...@gmail.com>:
> Hey,
>
> IMHO dev environment should be E_ALL | E_STRICT | E_DEPRECATED

E_DEPRECATED is apart of E_ALL (like Lukas just said), so I'd say:

; Development
error_reporting = E_ALL | E_STRICT (5.3)
error_reporting = E_ALL (6.0+)

; Production
error_reporting = E_ALL | ~E_DEPRECATED

>
> Regards,
>
> On Wed, Feb 11, 2009 at 2:19 PM, Ilia Alshanetsky <i...@prohost.org> wrote:
>>
>> On 11-Feb-09, at 11:11 AM, Daniel Convissor wrote:
>>
>>> Hi Eric:
>>>
>>> On Mon, Feb 09, 2009 at 09:27:03PM -0500, Eric Stewart wrote:
>>>>
>>>> http://wiki.php.net/rfc/newinis
>>>
>>> Thanks for the work.
>>>
>>> I noticed the actual directives in the files are the same.  I guess you
>>> just focused on the Quick Reference section and getting the comments set
>>> up the way you want.
>>>
>>> Line 488 in prod and 483 in dev need to have the link commented out.
>>>
>>> error_reporting:  should be E_ALL in production.  Well written code
>>> should not be generating notices, so notices indicate a problem that
>>> needs fixing.
>>
>> I think in dev environment it makes sense to set error reporting level to
>> E_ALL | E_STRICT
>>
>> Ilia Alshanetsky
>>
>>
>>
>>
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Guilherme Blanco - Web Developer
> CBC - Certified Bindows Consultant
> Cell Phone: +55 (16) 9215-8480
> MSN: guilhermebla...@hotmail.com
> URL: http://blog.bisna.com
> São Paulo - SP/Brazil
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
Kalle Sommer Nielsen

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to