Generates an UUID v4 using PHP code.

Loosely based on Ruby's UUIDTools generate_random logic.

Hierarchy

Expanded class hierarchy of UuidPhp

See also

http://uuidtools.rubyforge.org/api/classes/UUIDTools/UUID.html

File

core/includes/uuid.inc, line 128
Handling of universally unique identifiers.

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
UuidPhp::generate public function Generates a Universally Unique IDentifier (UUID). Overrides UuidInterface::generate