Searched defs:uniqid (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Duniqid.h25 PHP_FUNCTION(uniqid); variable
H A Duniqid.c39 #include "uniqid.h"
41 /* {{{ proto string uniqid([string prefix [, bool more_entropy]])
44 PHP_FUNCTION(uniqid)
52 zend_string *uniqid; local
79 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10);
81 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
84 RETURN_STR(uniqid);

Completed in 10 milliseconds