Test Rain Tpl 3.0 Alpha


Variables

Variable: Hello World!

Init Variable

Show Variable 10

Modifier 12

Cascade Modifier 5

Scoping (object) Rain

Scoping (array) Monday

Variable as key Thursday

Var test Hello World!

Ternary Operator

The title is: Rain TPL 3 - Easy and Fast template engine

Loop

Simple Loop

Modifier on Loop

Simple Nested Loop

Loop on created array

If

True condition: This is true

Modifier inside if: True

Function test

Simple function: 1715125500

Function with parameters: 08-05-2024

Static method: Hi I am a static method, and this is the parameter passed to me: 123test!

Escape Text

Malicious content: Hey this is a malicious XSS <script>alert('auto_escape is set enabled by default, so this script is escaped!');</script>

Custom tag

Translate: message to translate

Custom tag 2

Translate: message to translate in english

Escape variable


---------
16,88 KB
0.03742098