Print error log to stderr when template error.
Used option: FLAG_ERROR_LOG
NULL
}OK
Bad 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
NULL
Can not find partial for 'not_found', you should provide partials or partialresolver in options
require('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{> not_found}}";
$php = LightnCandy::compile($template, array(
"flags" => LightnCandy::FLAG_ERROR_LOG
));