cvs: phpdoc /en/reference/array/functions shuffle.xml
| From: | Hannes Magnusson | Date: | Mon, 06 Jul 2009 07:24:11 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions shuffle.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4348@lists.php.net to get a copy of this message | ||
bjori Mon Jul 6 07:24:11 2009 UTC
Modified files:
/phpdoc/en/reference/array/functions shuffle.xml
Log:
Like the changelogs says, the random number generator is seeded
automatically
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/shuffle.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/array/functions/shuffle.xml
diff -u phpdoc/en/reference/array/functions/shuffle.xml:1.19
phpdoc/en/reference/array/functions/shuffle.xml:1.20
--- phpdoc/en/reference/array/functions/shuffle.xml:1.19 Sun May 10 17:55:00 2009
+++ phpdoc/en/reference/array/functions/shuffle.xml Mon Jul 6 07:24:11 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry xml:id="function.shuffle" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>shuffle</refname>
@@ -45,7 +45,6 @@
<![CDATA[
<?php
$numbers = range(1, 20);
-srand((float)microtime() * 1000000);
shuffle($numbers);
foreach ($numbers as $number) {
echo "$number ";