Code Comments
Programming Forum and web based access to our favorite programming groups.After upgrading from 2.6.3 to 2.6.4
{ $obj->math(3.5) }
fails
Post Follow-up to this messageOn Thu, 9 Sep 2004, Fouzia Benzebouchi wrote:
> After upgrading from 2.6.3 to 2.6.4
>
> { $obj->math(3.5) }
>
> fails
I can confirm this behaviour too. For example,
$obj->meth(3) # works
$obj->meth(3, 5) # does not work
$obj->meth($x, 3) # works
$obj->meth(2, $x) # does not work
$obj->meth($foo->var) # does not work
The failure message is always along the lines of:
Fatal error: Smarty error: [in test.tpl line 1]: syntax error:
unrecognized tag: $obj->metch(2, $x) (Smarty_Compiler.class.php, line
408) in /home/entw/hj/work/esixt_phpbase/lib/Smarty/Smarty.class.php on
line 1083
Something with parsing arguments of object method calls is seriously
broken.
Hans
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.