Hello Timm,

Monday, February 9, 2004, 6:34:40 PM, you wrote:

> On Mon, 2004-02-09 at 17:02, Marcus Boerger wrote:
>> Hello Timm,
>> 
>> you shouldn't set the error severity at all because the test system should
>> already take care about it unless you overwrite it because you are checking
>> some error levels.

> Can I be sure E_NOTICE is included? The reason I need this is that
> several test cases of mine include Notice: ... in their EXPECTF section.
> By setting the error reporting to E_ALL forcibly, I wanted to ensure
> notices being displayed.

> Btw.:
> $ find . -name '*.phpt' -exec grep -H 'error_reporting' {}  \;|wc -l
>       98

Oh wow, i never noticed but yes you can be sure because of the exact problem
you describe. Seems like we did this unification far too late.

marcus

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to