Print error log to stderr when template error.
Used option: FLAG_ERROR_LOG
NULL
}OK
Command failed: php .exec_tmp_file2>&1
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
Command failed: php .exec_tmp_file2>&1
require('./vendor/autoload.php');
use LightnCandy\LightnCandy;
$template = "{{> not_found}}";
$php = LightnCandy::compile($template, array(
"flags" => LightnCandy::FLAG_ERROR_LOG
));