Re: [PHP Template] Re: IF conditionals

From: Date: Mon, 21 Feb 2000 15:04:01 +0000
Subject: Re: [PHP Template] Re: IF conditionals
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.template 
Request: Send a blank email to php-template+get-190@lists.php.net to get a copy of this message
On Mon, 21 Feb 2000, Erik Wrenholt wrote: > Perhaps we should use == instead... this gives us more room in the > future if we want to use = as an assignment operator. Although > assignments would be icky in a template, it could be useful. Hmm. Remember that this is for designers, so == is much less intuitive than =. > > > What about supporting an alternative syntax, like: > > > eq, ne, lt, gt, lte, gte > > > > Why? > > I'm used to using this when comparing strings from perl, so if it's not > difficult to add them, it would be used most likely. Once again, would this help designers? -Andrei "Someone clearly thinks that C is a garbage collected language" -- Morten Welinder

« previous php.template (#190) next »