We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How render volt template from variable?

I have variable

$var = "i love {{ planet }}":

How render it?



25.0k

this returned php code i need rendered.

Volt only produces PHP code, it does not render templates, this job is made by Mvc\View