PhpSandbox\PHPSandbox::getTime PHP Méthode

getTime() public méthode

You can pass the number of digits you wish to round the return value
public getTime ( integer | null $round ) : float
$round integer | null The number of digits to round the return value
Résultat float The amount of time in microseconds it took to prepare and execute the sandboxed code
    public function getTime($round = 0)
    {
        return $round ? round($this->prepare_time + $this->execution_time, $round) : $this->prepare_time + $this->execution_time;
    }
PHPSandbox