This commit is contained in:
bzick
2015-05-23 23:09:16 +03:00
parent 9269b6b4ad
commit 806467453d
3 changed files with 12 additions and 3 deletions

View File

@@ -7,6 +7,6 @@ require_once __DIR__.'/../tests/tools.php';
$fenom = Fenom::factory(__DIR__.'/templates', __DIR__.'/compiled');
$fenom->setOptions(Fenom::AUTO_RELOAD);
var_dump($fenom->compileCode('{$b == 5 ? "5" : "?"}')->getBody());
var_dump($fenom->compileCode('{set $z = "A"~~"B"}')->getBody());
//$fenom->display("blocks/second.tpl", []);
// $fenom->getTemplate("problem.tpl");