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?"


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



Reply via email to