cvs: phpdoc-zh /reference/array/functions array-reduce.xml
| From: | Xiao shengwen | Date: | Wed, 13 Jul 2005 16:48:22 +0000 |
| Subject: | cvs: phpdoc-zh /reference/array/functions array-reduce.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2042@lists.php.net to get a copy of this message | ||
yincheng Wed Jul 13 12:48:22 2005 EDT
Modified files:
/phpdoc-zh/reference/array/functions array-reduce.xml
Log:
up to en
http://cvs.php.net/diff.php/phpdoc-zh/reference/array/functions/array-reduce.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-zh/reference/array/functions/array-reduce.xml
diff -u phpdoc-zh/reference/array/functions/array-reduce.xml:1.5
phpdoc-zh/reference/array/functions/array-reduce.xml:1.6
--- phpdoc-zh/reference/array/functions/array-reduce.xml:1.5 Sun Aug 17 00:38:45 2003
+++ phpdoc-zh/reference/array/functions/array-reduce.xml Wed Jul 13 12:48:21 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.5 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready -->
<refentry id="function.array-reduce">
<refnamediv>
<refname>array_reduce</refname>
@@ -29,12 +29,14 @@
<programlisting role="php">
<![CDATA[
<?php
-function rsum($v, $w) {
+function rsum($v, $w)
+{
$v += $w;
return $v;
}
-function rmul($v, $w) {
+function rmul($v, $w)
+{
$v *= $w;
return $v;
}