Re: [SMARTY] Bring back E_ALL!

From: Date: Mon, 15 Apr 2002 07:15:51 +0000
Subject: Re: [SMARTY] Bring back E_ALL!
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3722@lists.php.net to get a copy of this message
Hello, To suppress warnings, I use : {if isset($var)} {$var} {/if} Somehow its a good thing because with the new settings (register_global=off) on PHP 4.2 we will have to be more aware of variables (and this is probably a very good thing for tourist like me..) I understand that the warning is strange in case of : {$var|default:"blah blah"} But you may want to try isset() Luc At 01:00 15/04/02 +0200, Michal Prinke wrote:
It is a shame that even {$var|default:"blah blah"} causes warnings when E_ALL is on... -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.smarty.general (#3722) next »