Re: [SMARTY] Smarty 2.1.0 - GLOBALS and error_reporting and CVS etc.
| From: | Andrei Zmievski | Date: | Thu, 02 May 2002 13:46:45 +0000 |
| Subject: | Re: [SMARTY] Smarty 2.1.0 - GLOBALS and error_reporting and CVS etc. | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3982@lists.php.net to get a copy of this message | ||
On Thu, 02 May 2002, Michal Prinke wrote:
> 2. Finally, I can keep error_reporting(E_ALL) when using Smarty.
>
> But is "error_reporting(error_reporting() & ~E_NOTICE)" really the final
> solution? Turning the warnings off instead of removing their causes?
>
> I understand that it can take a lot of time to put those isset()'s and
> $i < count($array) everywhere, but it would be more professional.
No, in some cases it would be impossible to use isset() checks due to
the fact that variables can be embedded inside larger statements.
-Andrei