Skip to content

Instantly share code, notes, and snippets.

View shanezhiu's full-sized avatar
🎯
Focusing

shane shanezhiu

🎯
Focusing
View GitHub Profile
@shanezhiu
shanezhiu / uuids.php
Last active January 20, 2019 05:48
生成UUIDS
<?php
// 第一种方法
function UUIDS()
{
if (function_exists('com_create_guid'))
{
$uuid = com_create_guid();
return substr($uuid, 1, -1);
}