The <#{php> …code… <#}php> tags allow PHP code to be embedded directly into the template. This is for advanced users only, not normally needed and not recommended.
<#{php> $my_var = "Stephane"; echo "My name is ".$my_var; <#}php>