Re: [SMARTY-DEV] Odd behaviour using 2.4.2

From: Date: Sat, 22 Feb 2003 19:59:09 +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-825@lists.php.net to get a copy of this message
Any chances we can see this in a 2.4.3 version soon? ----- Original Message ----- From: ".SMK." <s-m-k@gmx.net> To: <smarty-dev@lists.php.net> Cc: "'Garland Foster'" <garland_foster@salutia.com> Sent: Saturday, February 22, 2003 4:15 PM Subject: RE: [SMARTY-DEV] Odd behaviour using 2.4.2 > 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

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