Hello,
The fact that PHP accepts something doesn't mean that it is right to use
it that way. IMHO it is not a bug
Best
Maurycy
On 25/10/2012 19:59, Anderson A. Meggiolaro wrote:
>
> Hey guys,
>
> I've just noticed that having a left ',' at the end of an array list
> definition raises an uncaught exception in smarty. As php itself
> accepts that, I wonder if you guys intend to fix that or not.
>
> {$a = [1,2,]}
>
> Best regards,
>
> --
>
> -------------------------------------------------------------
> Anderson Andr� Meggiolaro Priedols
> Pesquisador Desenvolvedor - UnB/MCid
> -------------------------------------------------------------
> --
> You received this message because you are subscribed to the Google
> Groups "Smarty Developers" group.
> To post to this group, send email to
smarty-d...@googlegroups.com.
> To unsubscribe from this group, send email to
>
smarty-develop...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/smarty-developers?hl=en.