This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$oParser = new Parser(); | |
// Here we give values to the tags the parser can expect in the content. | |
$aTagValues = array( | |
'name' => 'Bruno', | |
'title' => 'M.A.' | |
); | |
$sContent = "Dear {{title}} {{name}}, we are spamming you to sell you canned beans."; |