1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2024-12-04 11:32:57 -03:00
parent ea02707d19
commit ada68305f0

View file

@ -198,9 +198,10 @@ if (!empty($codeToExec->test)) {
$microtime = microtime(true);
echo json_encode([
'error' => false,
'msg' => number_format($microtime - $codeToExec->microtime, 4).' seconds to respond',
'microtime1' => $codeToExec->microtime,
'microtime2' => $microtime,
'message' => sprintf('Remote FFmpeg responded successfully in %.4f seconds.', $microtime - $codeToExec->microtime),
'request_start_time' => $codeToExec->microtime,
'response_end_time' => $microtime,
'elapsed_time' => number_format($microtime - $codeToExec->microtime, 4),
]);
exit;
} else if (!empty($codeToExec->log)) {