cvs: phpdoc /en/reference/misc/functions uniqid.xml
| From: | Sander Roobol | Date: | Fri, 06 Jun 2003 16:15:41 +0000 |
| Subject: | cvs: phpdoc /en/reference/misc/functions uniqid.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969354304@lists.php.net to get a copy of this message | ||
sander Fri Jun 6 12:15:41 2003 EDT
Modified files:
/phpdoc/en/reference/misc/functions uniqid.xml
Log:
true is a boolean, 1 is an integer
Index: phpdoc/en/reference/misc/functions/uniqid.xml
diff -u phpdoc/en/reference/misc/functions/uniqid.xml:1.3
phpdoc/en/reference/misc/functions/uniqid.xml:1.4
--- phpdoc/en/reference/misc/functions/uniqid.xml:1.3 Sun Jun 30 06:41:43 2002
+++ phpdoc/en/reference/misc/functions/uniqid.xml Fri Jun 6 12:15:41 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/misc.xml, last change in rev 1.2 -->
<refentry id="function.uniqid">
<refnamediv>
@@ -46,7 +46,7 @@
<programlisting role="php">
<![CDATA[
$token = md5(uniqid("")); // no prefix
-$better_token = md5(uniqid(rand(),1)); // better, difficult to guess
+$better_token = md5(uniqid(rand(), true)); // better, difficult to guess
]]>
</programlisting>
</informalexample>