How can PHP scripts be executed within a .tpl template file in Woltlab's Burning Board?

To execute PHP scripts within a .tpl template file in Woltlab's Burning Board, you can use the {php} tag provided by the template engine. Simply enclose your PHP code within {php} tags to execute it within the template file.

{php}
// Your PHP code here
echo "Hello, World!";
{/php}