PHP Classes

File: helper/uuid.php

Recommend this page to a friend!
  Classes of Alexey Starikov  >  PHP Helper Class  >  helper/uuid.php  >  Download  
File: helper/uuid.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Helper Class
Call helper functions that are loaded dynamically
Author: By
Last change:
Date: 3 years ago
Size: 296 bytes
 

Contents

Class file image Download
<?php
/** uuid v4
 * php5-uuid
 */
return function ($i_url='0') {
    if (!
function_exists('uuid_create'))
        return
false;
   
$context=$uuid='';
   
uuid_create(&$context);
   
uuid_make($context, UUID_MAKE_V4);
   
uuid_export($context, UUID_FMT_STR, &$uuid);
    return
trim($uuid);
}
?>

For more information send a message to info at phpclasses dot org.