Re: tokens as input to modifiers

messju mohr <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
On Wed, Jul 07, 2004 at 01:03:20PM -0700, boots wrote:
> Should tokens be allowed to be passed to modifiers? The following does
> not seem to work:
> 
> {null|foo}, {true|foo}, etc...
> 
> Bug or behaviour?

i think it's intended. "null" or "true" could be registered functions
which makes the above valid syntax. allowing "null" and "true" as
constants would make it ambiguous.

> xo boots
> 
> -- 
> Smarty Development Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
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.