Update UUID.class.php
This commit is contained in:
parent
6c3484e67f
commit
2823d81758
|
@ -12,8 +12,8 @@
|
|||
* @author Andrew Moore
|
||||
* @link http://www.php.net/manual/en/function.uniqid.php#94959
|
||||
*/
|
||||
class UUID
|
||||
{
|
||||
if(!class_exists("UUID")) {
|
||||
class UUID {
|
||||
/**
|
||||
* Generate v3 UUID
|
||||
*
|
||||
|
@ -150,5 +150,5 @@ class UUID
|
|||
return preg_match('/^\{?[0-9a-f]{8}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?'.
|
||||
'[0-9a-f]{4}\-?[0-9a-f]{12}\}?$/i', $uuid) === 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user