cvs: phpdoc-fr /reference/array/functions array-diff-assoc.xml
| From: | Mehdi Achour | Date: | Wed, 02 Jun 2004 11:59:34 +0000 |
| Subject: | cvs: phpdoc-fr /reference/array/functions array-diff-assoc.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-2826@lists.php.net to get a copy of this message | ||
didou Wed Jun 2 07:59:34 2004 EDT
Modified files:
/phpdoc-fr/reference/array/functions array-diff-assoc.xml
Log:
les ayatollah du copier/coller on les oublie souvent :)
http://cvs.php.net/diff.php/phpdoc-fr/reference/array/functions/array-diff-assoc.xml?r1=1.12&r2=1.13&ty=u
Index: phpdoc-fr/reference/array/functions/array-diff-assoc.xml
diff -u phpdoc-fr/reference/array/functions/array-diff-assoc.xml:1.12
phpdoc-fr/reference/array/functions/array-diff-assoc.xml:1.13
--- phpdoc-fr/reference/array/functions/array-diff-assoc.xml:1.12 Fri May 21 20:04:56 2004
+++ phpdoc-fr/reference/array/functions/array-diff-assoc.xml Wed Jun 2 07:59:33 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<!-- EN-Revision: 1.4 Maintainer: dams Status: partial -->
<refentry id="function.array-diff-assoc">
<refnamediv>
@@ -28,9 +28,9 @@
<programlisting role="php">
<![CDATA[
<?php
-$array1 = array("a" => "vert", "rouge", "bleu",
"rouge");
-$array2 = array("b" => "vert", "jaune", "rouge");
-$result = array_diff($array1, $array2);
+$array1 = array("a" => "green", "b" => "brown",
"c" => "blue", "red");
+$array2 = array("a" => "green", "yellow", "red");
+$result = array_diff_assoc($array1, $array2);
print_r($result);
?>
@@ -44,7 +44,9 @@
<![CDATA[
Array
(
- [1] => bleu
+ [b] => brown
+ [c] => blue
+ [0] => red
)
]]>
</screen>