Re: Handling TRUE,FALSE,NULL,ON,OFF, etc
boots <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Andrei Zmievski <[email protected]> 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/ -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php