[pmwiki-devel] Error suppression - best practice

Peter Bowers pbowers at pobox.com
Sun Mar 1 13:47:03 CST 2015


I see often in PmWiki core & recipes where errors are suppressed via @:

if (@$foo['bar'])...

Recently I was challenged pretty strongly that this was never a good
practice.

So... is it just preference & this guy was opinionated? Or is this an older
way to do things & best practice is to not use this operator?

-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20150301/25c2e0bd/attachment.html>


More information about the pmwiki-devel mailing list