-
Notifications
You must be signed in to change notification settings - Fork 3
UUID::parse
Mo McRoberts edited this page Aug 7, 2011
·
1 revision
Parse a string containing a UUID and return an array representing its value.
uses('uuid');
public static function array [[UUID]]::parse(string [in] $uuid)
UUID::parse() converts a string representation of a UUID to an array. The
array contains the following members:
time_lowtime_midtime_hi_and_versionclock_seq_hi_and_reservedclock_seq_lownodeversion-
variantTheversionmember contains a UUID version number, for exampleUUID::RANDOM. Thevariantmember specifies the UUID variant, for exampleUUID::DCE.
| Name | Direction | Type | Description |
|---|---|---|---|
$uuid
|
in | string | A string representation of a UUID. |
An array representing the supplied UUID, or null if an error occurs.