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: 1715921395

Function with parameters: 17-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

Notice: Undefined variable: bad_variable in /srv/user/ithnet.com/movim/vendor/rain/raintpl/cache/072ed58138e354f72b52f0ea14829a38.s.rtpl.php on line 108 Notice: Undefined variable: safe_variable in /srv/user/ithnet.com/movim/vendor/rain/raintpl/cache/072ed58138e354f72b52f0ea14829a38.s.rtpl.php on line 109
---------
188,66 KB
0.09396910