mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Correct uniqid() description. It does not return unique ID always
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340020 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
33183abba5
commit
e70ff36756
1 changed files with 17 additions and 1 deletions
|
@ -18,6 +18,16 @@
|
|||
microseconds.
|
||||
</para>
|
||||
&caution.cryptographically-insecure;
|
||||
<warning>
|
||||
<para>
|
||||
This function does not guarantee uniqueness of return
|
||||
value. Since most systems adjust system clock by NTP or like,
|
||||
system time is changed constantly. Therefore, it is possible that
|
||||
this function does not return unique ID for the
|
||||
process/thread. Use <parameter>more_entropy</parameter> to
|
||||
increase likelihood of uniqueness.
|
||||
</para>
|
||||
</warning>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
@ -57,8 +67,14 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the unique identifier, as a string.
|
||||
Returns timestamp based unique identifier as a string.
|
||||
</para>
|
||||
<warning>
|
||||
<para>
|
||||
This function tries to create unique identifier, but it does not
|
||||
guarantee 100% uniqueness of return value.
|
||||
</para>
|
||||
</warning>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
|
|
Loading…
Reference in a new issue