bobthecow/mustache.php — Issue #70: 'Compiled PHP' template renderers
Author: leth
Created: 2012-01-06 15:35:40+00:00
State: open

I came across [hogan.js](https://github.com/twitter/hogan.js) and it struck me that something like that ought to be possible for PHP.

I'm pretty sure you could use `create_function(...)` to compile a function to render mustache templates.
It might be necessary to wrap the compiled function in a class instance in order to better handle arguments and other advanced features.

I'm not saying it's a necessary feature for this project, I just thought I'd post it to see if it caught anyone's interest, as I'm too busy to do it myself.