Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
softmedya.net /
vendor /
symfony /
uid /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxr-xr-x
2025-06-27 19:55
Exception
[ DIR ]
drwxr-xr-x
2025-06-27 19:55
Factory
[ DIR ]
drwxr-xr-x
2025-06-27 19:55
AbstractUid.php
5.52
KB
-rw-r--r--
2025-06-27 19:55
BinaryUtil.php
6.43
KB
-rw-r--r--
2025-06-27 19:55
CHANGELOG.md
1.33
KB
-rw-r--r--
2025-06-27 19:55
HashableInterface.php
636
B
-rw-r--r--
2025-06-27 19:55
LICENSE
1.04
KB
-rw-r--r--
2025-06-27 19:55
MaxUlid.php
383
B
-rw-r--r--
2025-06-27 19:55
MaxUuid.php
415
B
-rw-r--r--
2025-06-27 19:55
NilUlid.php
383
B
-rw-r--r--
2025-06-27 19:55
NilUuid.php
472
B
-rw-r--r--
2025-06-27 19:55
README.md
604
B
-rw-r--r--
2025-06-27 19:55
TimeBasedUidInterface.php
519
B
-rw-r--r--
2025-06-27 19:55
Ulid.php
6.94
KB
-rw-r--r--
2025-06-27 19:55
Uuid.php
7.42
KB
-rw-r--r--
2025-06-27 19:55
UuidV1.php
2.36
KB
-rw-r--r--
2025-06-27 19:55
UuidV3.php
592
B
-rw-r--r--
2025-06-27 19:55
UuidV4.php
1.33
KB
-rw-r--r--
2025-06-27 19:55
UuidV5.php
592
B
-rw-r--r--
2025-06-27 19:55
UuidV6.php
3.07
KB
-rw-r--r--
2025-06-27 19:55
UuidV7.php
5.09
KB
-rw-r--r--
2025-06-27 19:55
UuidV8.php
573
B
-rw-r--r--
2025-06-27 19:55
composer.json
917
B
-rw-r--r--
2025-06-27 19:55
Save
Rename
<?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\Uid; /** * A v1 UUID contains a 60-bit timestamp and 62 extra unique bits. * * @author Grégoire Pineau <lyrixx@lyrixx.info> */ class UuidV1 extends Uuid implements TimeBasedUidInterface { protected const TYPE = 1; private static string $clockSeq; public function __construct(?string $uuid = null) { if (null === $uuid) { $this->uid = strtolower(uuid_create(static::TYPE)); } else { parent::__construct($uuid, true); } } public function getDateTime(): \DateTimeImmutable { return BinaryUtil::hexToDateTime('0'.substr($this->uid, 15, 3).substr($this->uid, 9, 4).substr($this->uid, 0, 8)); } public function getNode(): string { return substr($this->uid, -12); } public function toV6(): UuidV6 { $uuid = $this->uid; return new UuidV6(substr($uuid, 15, 3).substr($uuid, 9, 4).$uuid[0].'-'.substr($uuid, 1, 4).'-6'.substr($uuid, 5, 3).substr($uuid, 18, 6).substr($uuid, 24)); } public function toV7(): UuidV7 { return $this->toV6()->toV7(); } public static function generate(?\DateTimeInterface $time = null, ?Uuid $node = null): string { $uuid = !$time || !$node ? uuid_create(static::TYPE) : parent::NIL; if ($time) { if ($node) { // use clock_seq from the node $seq = substr($node->uid, 19, 4); } elseif (!$seq = self::$clockSeq ?? '') { // generate a static random clock_seq to prevent any collisions with the real one $seq = substr($uuid, 19, 4); do { self::$clockSeq = \sprintf('%04x', random_int(0, 0x3FFF) | 0x8000); } while ($seq === self::$clockSeq); $seq = self::$clockSeq; } $time = BinaryUtil::dateTimeToHex($time); $uuid = substr($time, 8).'-'.substr($time, 4, 4).'-1'.substr($time, 1, 3).'-'.$seq.substr($uuid, 23); } if ($node) { $uuid = substr($uuid, 0, 24).substr($node->uid, 24); } return $uuid; } }