Extension:Foxway/Usage

The Foxway extension allows you to use some of the features and syntax of the programming language PHP on the wiki pages.

Your PHP code should be placed between the tags  or passed as a parameter to the parser function. Also, for more convenience, you can use the following syntax to call functions implemented in foxway:

There are some differences and limitations when using the methods described above. You can use either one, or both, there is no limit to it.

The following three examples do the same thing, writing a string :

echo ucfirst( 'hello world' . "!!!\n" );

see example