{* data.value = "TXT value"; data.arr.dot.4.retval = "Four"; data.arr.dot.5 = "FiVe"; data.arr.i = 4; data.arr.retval = "Retval key"; data.set->get = "Get props"; data.iam->getName(...) == "return Name"; data.iam->getFormat(...)== "return Format"; data.num = 777; data.k = 0; data.ls = array("a" => "lit A", "c" => "lit C", "d" => "lit D"); *} Hello world! My Name is {$data.value}... Yeah Hello world! My Name is {$data.arr.dot|json_encode|lower}... Yeah Hello world, {$data.value|upper}! My Name is {$data.arr[dot].5|upper}... My Name is {$data.arr.dot[ $data.arr.i|round ]."retval"|upper}... My Name is {$data.arr."retval"|upper}... Yeah Hello world! My Name is {$data.set->get|upper}... Yeah Hello world! My Name is {$data.iam->getName()|upper}... Your Name is {$data.you->getFormat(1, 0.4, "%dth", 'grade', $data.arr[dot].5|lower)|upper}? Yeah Hello world! {if isset($data.iam) && !empty($data.set->get)} My Name is {$data.set->get}... {/if} Yeah Hello world! {if $data.num >= 5 && $data.k++ || foo($data.value) && !bar($data.num) + 3 || $data.k?} My Name is {$data->user|upper}... {/if} Yeah Hello world! {foreach from=$data.ls key=k item=e} My Name is {$e|upper} ({$k})... {/foreach} Yeah Hello world! {switch $data.num} {case "dotted"} dotted lines
{break} {case 777} numeric lines
{break} {case $data[arr]["dot"].4.retval|upper} lister
{break} {/switch} Yeah Hello world! {* if !empty($data.num) *} {if $data.num?} dotted lines
{elseif $data[arr]["dot"].4.retval|lower} lister
{/if} Yeah Check system variable
Current timestamp {$aspect.now}...
$_GET {$aspect.get.item}...
$_POST {$aspect.post.myval|upper}...
$_COOKIES {$aspect.cookies["uid"]}...
$_REQUEST {$aspect.request?}...
Consts {$data.number|round:$aspect.const.PHP_INT_MAX}...
Ok Hello world! {for from=1 to=$data.ls|count}
Go
{/for} Yeah