cat

1.0 1.1 1.2 1.3

Concatenates any number of variables or strings fed into it

<?php
cat(array $rest)
  • rest: two or more strings that will be merged into one.

Examples

Example #1

index.tpl
{$a='abc'}
{$d='def'}
{$g='ghi'}
{cat $a $d $g}

The above example will output:

abcdefghi