Re: [SMARTY-DEV] Re: more CVS commits
| From: | Wom.bat | Date: | Tue, 17 Jun 2003 12:04:30 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: more CVS commits | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1603@lists.php.net to get a copy of this message | ||
> finalized and I believe there is still some competing ideas on the
> built-in math. @Wom.Bat: I did install the math patch and I have used
> it (I wasn't able to break it, but I didn't test it very thoroughly)
> though I am presently relying on Monte's CVS math code.)
yeah :(
the last time I got a sign of life from Monte was two weeks ago or so :/
he hasn't said anything on it yet... I just guess it would make sense, as
it speeds up runtime-math a lot (it is compiled into pure PHP code, you
can't do it any faster) and doesn't have a too big impact on compile-times
well... and it works in all variations (I'll give a few examples for those
who don't know about it yet):
{$foo->bar - $bar[1] * $baz->foo->bar() - 3 * 7}
{if ($foo+$bar.test%$baz*134232+10+$b+10)}
{$foo|truncate:"
$fooTruncCount / $barTruncFactor -1"}
{assign var="foo" value="$foo + $bar"}
we'll see, maybe they'll implement it, maybe they'll say "okay, fine, but
we'll do that on our own", or maybe the patch will vanish into thin air ;)
David