COM 函数
PHP 手册

com_create_guid

(PHP 5)

com_create_guidGenerate a globally unique identifier (GUID)

说明

string com_create_guid ( void )

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.

返回值

Returns the GUID as a string.

参见


COM 函数
PHP 手册