Re: [SMARTY-DEV] Smarty changes error_reporting() level
| From: | messju mohr | Date: | Sat, 11 Oct 2003 09:45:28 +0000 |
| Subject: | Re: [SMARTY-DEV] Smarty changes error_reporting() level | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1895@lists.php.net to get a copy of this message | ||
On Wed, Oct 08, 2003 at 12:01:33PM +0200, Jan Rosier wrote:
> I vote for this.
>
> I also think that turning off E_NOTICE maybe not necessary anymore
> altogether since the assign function was changed to accept empty values.
> (see
>
> http://cvs.php.net/diff.php/smarty/libs/Smarty.class.php?r1=1.315&r2=1.316&ty=h).
> All variables that are assigned in php will also be available in the
> template
no. people may rely on the fact that smarty suppresses E_NOTICE on
undefined variables in the template.
"{$var}" emits a notice if $var isn't assigned at all.
> Greetings,
> Jan Rosier