public function traceEnd(): void
    {
        $now = microtime(true);
        foreach ($this->buffTrace as &$traceItem) {
            if ('' === $traceItem['result']) {
                $traceItem['time'] = $now - $traceItem['time'];
                $traceItem['result'] = 'Trace end';
            }
        }
        unset($traceItem);
    }
public function traceEnd(): void
    {
        $now = microtime(true);
        foreach ($this->buffTrace as &$traceItem) {
            if ('' === $traceItem['result']) {
                $traceItem['time'] = $now - $traceItem['time'];
                $traceItem['result'] = 'Trace end';
            }
        }
        unset($traceItem);
    }
public function traceEnd ( ) : void { $ now = microtime ( true ) ; foreach ( $ this -> buffTrace as & $ traceItem ) { if ( '' === $ traceItem [ 'result' ] ) { $ traceItem [ 'time' ] = $ now - $ traceItem [ 'time' ] ; $ traceItem [ 'result' ] = 'Trace end' ; } } unset ( $ traceItem ) ; }
Set time to now-time for each unclosed trace items.
@return void
Set time to now - time for each unclosed trace items .