mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
15 lines
268 B
PHP
15 lines
268 B
PHP
|
<?php
|
||
|
|
||
|
$opt = getopt("", array(
|
||
|
"engine:",
|
||
|
"template:",
|
||
|
"data:",
|
||
|
"double",
|
||
|
"message:"
|
||
|
));
|
||
|
|
||
|
require_once __DIR__.'/bootstrap.php';
|
||
|
|
||
|
extract($opt);
|
||
|
|
||
|
Benchmark::$engine($template, json_decode(file_get_contents($data), true), isset($double), $message);
|