Print error log to stderr when template error.
Used option: FLAG_ERROR_LOG
NULL}OKBad token } ! Do you mean or ?require('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{../foo}}}OK";
$php = LightnCandy::compile($template, array(
"flags" => LightnCandy::FLAG_ERROR_LOG
));
Used option: FLAG_ERROR_LOG
NULLCan not find partial for 'not_found', you should provide partials or partialresolver in optionsrequire('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{> not_found}}";
$php = LightnCandy::compile($template, array(
"flags" => LightnCandy::FLAG_ERROR_LOG
));