Re: cvs: php-src /ext/sybase_ct/tests test.inc
| From: | Marcus Boerger | Date: | Mon, 09 Feb 2004 21:32:46 +0000 |
| Subject: | Re: cvs: php-src /ext/sybase_ct/tests test.inc | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-26070@lists.php.net to get a copy of this message | ||
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