Re: Handling TRUE,FALSE,NULL,ON,OFF, etc

Andrei Zmievski <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
On Fri, 09 Apr 2004, messju mohr wrote:
> hmm. to me this was always intuitive:
> - "true", "false", "on", "off" and "null" are case-sensitive and special.
> - all other \w+ are treated as strings.
> 
> please don't break stuff like {assign var=foo value="v"} or
> {$var|escape:javascript} by treating invalid (=unknown) tokens as
> syntax-errors.

Hmm, what's unknown in {assign var=foo value="v"}? Now, if you did
{assign var=TRUE value="v"}, I see a probem there, because it would look
like you are assigning a boolean value to 'var'.

- Andrei

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.