Class UUID
UUID class
The following class generates VALID RFC 4122 COMPLIANT Universally Unique IDentifiers (UUID) version 3, 4 and 5.
UUIDs generated validates using OSSP UUID Tool, and output for named-based UUIDs are exactly the same. This is a pure PHP implementation.
Namespace: GeniBase\Util
Author: Andrew Moore
Link: http://www.php.net/manual/en/function.uniqid.php#94959
Located at GeniBase/Util/UUID.php
Author: Andrew Moore
Link: http://www.php.net/manual/en/function.uniqid.php#94959
Located at GeniBase/Util/UUID.php
Methods summary
public static
|
|
public static
|
|
public static
|
|
public static
|
Constants summary
string |
NIL
|
#
'00000000-0000-0000-0000-000000000000'
|
string |
NAMESPACE_DNS
|
#
'6ba7b810-9dad-11d1-80b4-00c04fd430c8'
|
string |
NAMESPACE_URL
|
#
'6ba7b811-9dad-11d1-80b4-00c04fd430c8'
|
string |
NAMESPACE_OID
|
#
'6ba7b812-9dad-11d1-80b4-00c04fd430c8'
|
string |
NAMESPACE_X500
|
#
'6ba7b814-9dad-11d1-80b4-00c04fd430c8'
|