Update UUID.class.php

This commit is contained in:
Namhyeon Go 2020-04-17 18:03:25 +09:00 committed by GitHub
parent 6c3484e67f
commit 2823d81758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@
* @author Andrew Moore * @author Andrew Moore
* @link http://www.php.net/manual/en/function.uniqid.php#94959 * @link http://www.php.net/manual/en/function.uniqid.php#94959
*/ */
class UUID if(!class_exists("UUID")) {
{ class UUID {
/** /**
* Generate v3 UUID * Generate v3 UUID
* *
@ -151,4 +151,4 @@ class UUID
'[0-9a-f]{4}\-?[0-9a-f]{12}\}?$/i', $uuid) === 1; '[0-9a-f]{4}\-?[0-9a-f]{12}\}?$/i', $uuid) === 1;
} }
} }
?> }