Re: [SMARTY] Bring back E_ALL!
| From: | Andrei Zmievski | Date: | Mon, 15 Apr 2002 18:08:43 +0000 |
| Subject: | Re: [SMARTY] Bring back E_ALL! | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3743@lists.php.net to get a copy of this message | ||
On Mon, 15 Apr 2002, Gabor Hojtsy wrote:
> > To suppress warnings, I use :
> >
> > {if isset($var)}
> > {$var}
> > {/if}
>
> That's ugly, brrr... Set error_reporting(E_ALL ^ E_NOTICE) in a
> subclass of Smarty. That's much more convinient.
Smarty does this automatically in the next release.
-Andrei
For every complex problem, there is a solution
that is simple, neat, and wrong. -- H. L. Mencken