PHP Code:
<?php
require_once('./global.php');
echo "Rest in Peace friend";
echo "<br />";
printf("%s", "Rest in Peace friend");
echo "<br />";
$vbphrase['rest_in_peace'] = "Rest in Peace friend";
echo $vbphrase['rest_in_peace'];
echo "<br />";
$vbphrase['rest_in_peace'] = "Rest in Peace %1\$s";
echo construct_phrase($vbphrase['rest_in_peace'], "friend");
$vbphrase['rest_in_peace'] = "Rest in Peace friend";
echo "<br />";
echo "<br />";
echo "And your favourite:";
echo "<br />";
require_once(DIR . '/includes/class_template_parser.php');
$parser = new vB_TemplateParser('{vb:rawphrase rest_in_peace}');
$parser->dom_doc = new vB_DomDocument($parser->fetch_dom_compatible());
echo trim($parser->_parse_nodes($parser->dom_doc->childNodes()));
We will meet again, and will code together.