AW: [SMARTY-DEV] variable catenation
| From: | Rainer Collet | Date: | Fri, 21 Feb 2003 18:32:05 +0000 |
| Subject: | AW: [SMARTY-DEV] variable catenation | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-807@lists.php.net to get a copy of this message | ||
i think you should not use the .-sign for concatination, because it is
used for arrays. it does not matter how you solve the syntax-conflict,
because you'll will surely find someone who uses it as array-syntax.
i would prefer introducing a new sign (maybe .=) or use modifier syntax.
modifier syntax has the advantage, that it keeps smarty-syntax not too
complex. i think we have enough possible syntaxes as you could see after
the regex cleanup from 2.3.1 to 2.4.0.
rainer