# com_create_guid

(PHP 5, PHP 7, PHP 8)

com_create_guid — Generate a globally unique identifier (GUID)

### Descripción

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.

### Parámetros

Esta función no tiene parámetros.

### Valores devueltos

Returns the GUID as a string, o `false` en caso de error.

### Ver también

- uuid_create() in the PECL uuid extension