didou Fri Mar 5 07:12:57 2004 EDT
Modified files:
/phpdoc/en/reference/array/functions end.xml shuffle.xml
Log:
end : rewording and CS
shuffle : there's a ¬e.random.seed; entity, so we don't need to use srand()
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/end.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/array/functions/end.xml
diff -u phpdoc/en/reference/array/functions/end.xml:1.9
phpdoc/en/reference/array/functions/end.xml:1.10
--- phpdoc/en/reference/array/functions/end.xml:1.9 Mon Dec 15 11:47:04 2003
+++ phpdoc/en/reference/array/functions/end.xml Fri Mar 5 07:12:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.end">
<refnamediv>
@@ -16,8 +16,7 @@
</methodsynopsis>
<para>
<function>end</function> advances <parameter>array</parameter>'s
- internal pointer to the last element, and returns the value from
- the last element.
+ internal pointer to the last element, and returns its value.
</para>
<para>
<example>
@@ -26,9 +25,8 @@
<![CDATA[
<?php
- $fruits = array('apple', 'banana', 'cranberry');
-
- echo end($fruits); // cranberry
+$fruits = array('apple', 'banana', 'cranberry');
+echo end($fruits); // cranberry
?>
]]>
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/shuffle.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/array/functions/shuffle.xml
diff -u phpdoc/en/reference/array/functions/shuffle.xml:1.8
phpdoc/en/reference/array/functions/shuffle.xml:1.9
--- phpdoc/en/reference/array/functions/shuffle.xml:1.8 Thu Dec 18 12:43:30 2003
+++ phpdoc/en/reference/array/functions/shuffle.xml Fri Mar 5 07:12:57 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.shuffle">
<refnamediv>
@@ -14,8 +14,7 @@
</methodsynopsis>
<para>
This function shuffles (randomizes the order of the elements in)
- an array. You must use <function>srand</function> to seed this
- function.
+ an array.
<example>
<title><function>shuffle</function> example</title>
<programlisting role="php">