I finding a php template engine allow user defined function only or it allow white-list functions only. My problem is I will let my user edit their templates. So I need a safe template engine.
+1
A:
The twig project ( http://www.twig-project.org/ ) has a sandbox mode.
efritz
2010-08-28 18:43:56