PhpTags/Short syntax

< PhpTags

This page demonstrates the PhpTags extension

Bucket in the sand.svg You can play it in the namespace sandbox (editing is allowed for anonymous users there)


Source of page:

<phptag> $foo = 'hello world'; </phptag>

{{#phptag: ucfirst | 'hello world' }}

{{#phptag: ucfirst | $foo }}

{{#phptag: $foo }}

Result:


Hello world

Hello world

hello world