Please wait while we load your page...


PHP Manual [com_create_guid]

Protect Your Website Today

PHP Manual || COM Functions

(PHP 5, PHP 7)

com_create_guidGenerate a globally unique identifier (GUID)


com_create_guid ( void ) : string

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.

Return Values

Returns the GUID as a string.

See Also

  • uuid_create() in the PECL uuid extension

PHP Manual || COM Functions