Function

uuid

Synopsis

uuid(): string

Area
Runtime\PS\Crypto\Identifiers\uuidareas

Description

uuid returns a UUIDv7 as 36 lowercase characters in the 8-4-4-4-12 form: a millisecond timestamp and random bits and ids sort by creation time like a ulid.

Usage

$value = uuid($arguments);
$fn = uuid(...);

See also