Re: RFC: run-tests.php & errors/warnings
| From: | Melvyn Sopacua | Date: | Tue, 29 Oct 2002 16:37:06 +0000 |
| Subject: | Re: RFC: run-tests.php & errors/warnings | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90271@lists.php.net to get a copy of this message | ||
At 10:14 10/29/2002 -0500, Ilia A. wrote:
Adding @ to block the errors is not a good approach imho, the warning should be displayed and accounted for in the expected output.If your testing foo_function, it's useless when bar_function() is generating verbose warnings, so that the foo_function fails. Especially when E_ALL is set, because foo_function shouldn't generate anything. @foo_function is bad @bar_function is good IMO. Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua <@Logan> I spent a minute looking at my own code by accident. <@Logan> I was thinking "What the hell is this guy doing?"