Re: [SMARTY-DEV] Handling TRUE,FALSE,NULL,ON,OFF, etc
| From: | boots | Date: | Fri, 09 Apr 2004 20:43:07 +0000 |
| Subject: | Re: [SMARTY-DEV] Handling TRUE,FALSE,NULL,ON,OFF, etc | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2276@lists.php.net to get a copy of this message | ||
--- Andrei Zmievski <andrei@gravitonic.com> wrote:
> On Fri, 09 Apr 2004, boots wrote:
> >
> > FWIW, I don't think it does accept such things -- except in the
> case of
> > PHP function names which, of course, are not case-sensitive.
> Otherwise,
> > Smarty is fairly much case-sensitive, AFAIK. The particular problem
> > here seems to be that TRUE and true are semantically different in
> > Smarty -- one is string, the other int/bool. I don't know if that
> needs
> > to be fixed as Smarty does not require explicit quotes when setting
> > strings; thus, TRUE could very well be intended as "TRUE".
>
> Then it should be specified as such.
Agreed. I'll work up a new section under Basic Syntax in the manual
when I get a moment.
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/