Kernel : Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
Disable function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Safe mode : OFF
Host : diestoffstrasse.com | Server ip : 127.0.0.1 | Your ip : 127.0.0.1 | Time @ Server : 24 Aug 2025 16:14:11
MySQL : OFF | MSSQL : OFF | cURL : ON | Oracle : OFF | wget : ON | Perl : ON

/home/dev2.destoffenstraat.com/vendor-1/symfony/stopwatch/

HOME about upload exec mass file domain root vuln newfile newfolder kill me

File Path : /home/dev2.destoffenstraat.com/vendor-1/symfony/stopwatch/Section.php

<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Stopwatch; /** * Stopwatch section. * * @author Fabien Potencier <fabien@symfony.com> */ class Section { /** * @var StopwatchEvent[] */ private $events = []; /** * @var float|null */ private $origin; /** * @var bool */ private $morePrecision; /** * @var string */ private $id; /** * @var Section[] */ private $children = []; /** * @param float|null $origin Set the origin of the events in this section, use null to set their origin to their start time * @param bool $morePrecision If true, time is stored as float to keep the original microsecond precision */ public function __construct(?float $origin = null, bool $morePrecision = false) { $this->origin = $origin; $this->morePrecision = $morePrecision; } /** * Returns the child section. * * @return self|null */ public function get(string $id) { foreach ($this->children as $child) { if ($id === $child->getId()) { return $child; } } return null; } /** * Creates or re-opens a child section. * * @param string|null $id Null to create a new section, the identifier to re-open an existing one * * @return self */ public function open(?string $id) { if (null === $id || null === $session = $this->get($id)) { $session = $this->children[] = new self(microtime(true) * 1000, $this->morePrecision); } return $session; } /** * @return string */ public function getId() { return $this->id; } /** * Sets the session identifier. * * @return $this */ public function setId(string $id) { $this->id = $id; return $this; } /** * Starts an event. * * @return StopwatchEvent */ public function startEvent(string $name, ?string $category) { if (!isset($this->events[$name])) { $this->events[$name] = new StopwatchEvent($this->origin ?: microtime(true) * 1000, $category, $this->morePrecision, $name); } return $this->events[$name]->start(); } /** * Checks if the event was started. * * @return bool */ public function isEventStarted(string $name) { return isset($this->events[$name]) && $this->events[$name]->isStarted(); } /** * Stops an event. * * @return StopwatchEvent * * @throws \LogicException When the event has not been started */ public function stopEvent(string $name) { if (!isset($this->events[$name])) { throw new \LogicException(sprintf('Event "%s" is not started.', $name)); } return $this->events[$name]->stop(); } /** * Stops then restarts an event. * * @return StopwatchEvent * * @throws \LogicException When the event has not been started */ public function lap(string $name) { return $this->stopEvent($name)->start(); } /** * Returns a specific event by name. * * @return StopwatchEvent * * @throws \LogicException When the event is not known */ public function getEvent(string $name) { if (!isset($this->events[$name])) { throw new \LogicException(sprintf('Event "%s" is not known.', $name)); } return $this->events[$name]; } /** * Returns the events from this section. * * @return StopwatchEvent[] */ public function getEvents() { return $this->events; } }