Extension:PhpTags/Quick start guide

Usage
There are two ways to use this extension on the wiki pages, and each of them has its own features.

The main way is to place the PHP code between the tags  and. In this case PhpTags returns "Strip marker" and the result is sent for processing to the MediaWiki Parser.

Another way is to use PhpTags as the parser function:

In this case PhpTags returns string that can be processed by other parser functions.
 * Note: This string can also contain "Strip marker", if were used the functions which returns it.

Illustrative examples are given here.

Short syntax
For ease of use it is possible to use the short syntax. For functions:

This is equivalent to:

For variables:

This is equivalent to:

Examples here