[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Formatter
SET
[ DEL ]
📁 Handler
SET
[ DEL ]
📁 Processor
SET
[ DEL ]
📄 DateTimeImmutable.php
1,085 B
SET
[ EDIT ]
|
[ DEL ]
📄 ErrorHandler.php
10,474 B
SET
[ EDIT ]
|
[ DEL ]
📄 Logger.php
18,647 B
SET
[ EDIT ]
|
[ DEL ]
📄 Registry.php
4,002 B
SET
[ EDIT ]
|
[ DEL ]
📄 ResettableInterface.php
1,004 B
SET
[ EDIT ]
|
[ DEL ]
📄 SignalHandler.php
4,062 B
SET
[ EDIT ]
|
[ DEL ]
📄 Utils.php
8,820 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: DateTimeImmutable.php
<?php declare(strict_types=1); /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog; use DateTimeZone; /** * Overrides default json encoding of date time objects * * @author Menno Holtkamp * @author Jordi Boggiano <j.boggiano@seld.be> */ class DateTimeImmutable extends \DateTimeImmutable implements \JsonSerializable { /** * @var bool */ private $useMicroseconds; public function __construct(bool $useMicroseconds, ?DateTimeZone $timezone = null) { $this->useMicroseconds = $useMicroseconds; parent::__construct('now', $timezone); } public function jsonSerialize(): string { if ($this->useMicroseconds) { return $this->format('Y-m-d\TH:i:s.uP'); } return $this->format('Y-m-d\TH:i:sP'); } public function __toString(): string { return $this->jsonSerialize(); } }