Add uuid PECL stubs

This commit is contained in:
Viktor Szépe
2019-10-16 02:10:30 +02:00
committed by Ben Ramsey
parent 207f46c40b
commit bc201fe3e4
2 changed files with 31 additions and 21 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
if (!function_exists('uuid_create')) {
/**
* @param int $type
* @return string
*/
function uuid_create($type = 0)
{
}
}
if (!function_exists('uuid_parse')) {
/**
* @param string $uuid
* @return string
*/
function uuid_parse($uuid)
{
}
}
if (!defined('UUID_TYPE_TIME')) {
define('UUID_TYPE_TIME', 1);
}
if (!defined('UUID_TYPE_RANDOM')) {
define('UUID_TYPE_RANDOM', 4);
}