RE: [SMARTY-DEV] Odd behaviour using 2.4.2

From: Date: Mon, 24 Feb 2003 16:24:08 +0000
Subject: RE: [SMARTY-DEV] Odd behaviour using 2.4.2
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-837@lists.php.net to get a copy of this message
The floats was already fixed in CVS. I added the << >> and <> operators. Monte. On Sat, 2003-02-22 at 13:15, .SMK. wrote: > Ok, I've made a patch that (hopefully) fixes a couple of things: > * full support for floats /w optionally exponents > * added support for bit shift, increment/decrement op > * fixed <> operator (I think it was a typo, wasn't it??) > > Cheers, > .SMK. > > -----Original Message----- > From: Garland Foster [mailto:garland_foster@salutia.com] > Sent: Saturday, February 22, 2003 6:05 PM > To: smarty-dev@lists.php.net; smarty-general@lists.php.net > Subject: [SMARTY-DEV] Odd behaviour using 2.4.2 > > > Hi all, > > I upgraded some apps to Smarty 2.4.2 > I'm getting errors in compiled templates in templates that worked with > 2.3.x > > Examples: > > {if $foo > 0.01} > is getting compiled as > <?php if ($this->_tpl_vars['comments_threshold'] > 0 .01): ?> > Note: there's a white space between the 0 and .01 making PHP throw an > error. > > I also have errors with > {if $foo <> 4} > that is getting compiled with a whitespace between the '<' and '>' > breaking PHP too. > > what's happening? > > > ______________________________________________________________________ > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.dev (#837) next »