I want to render a simple page so I can benchmark the performance. I use phalcon's volt engine
use Phalcon\Mvc\View\Engine\Volt\Compiler;
$c = new Compiler();
$c->setOptions(['compiledPath' => '/tmp/']);
$c->compile('hello.volt');
require $c->getCompiledTemplatePath();
is all my code how do I now give over a variable that can be rendered in hello.volt
Doing simple math like {{ 7 + 12 }} is all I could achieve so far :/