Re: object calls fail after upgrade to 2.6.4
| From: | hans | Date: | Thu, 09 Sep 2004 09:03:26 +0000 |
| Subject: | Re: object calls fail after upgrade to 2.6.4 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11779@lists.php.net to get a copy of this message | ||
On 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