php8.5
Home/ Manual/ com / functions/ com_create_guid

com_create_guid

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Generate a globally unique identifier (GUID)

Description

com_create_guid(): string|false

Generates a Globally Unique Identifier (GUID).

A GUID is generated in the same way as DCE UUID's, except that the Microsoft convention is to enclose a GUID in curly braces.

Parameters Parameters

Return Values

Returns the GUID as a string, Falseforfailure.

See Also

Source: reference/com/functions/com-create-guid.xml · from the official PHP manual (php/doc-en)