cvs: phpdoc /en/functions array.xml
| From: | Jeroen van Wolffelaar | Date: | Fri, 14 Sep 2001 23:25:37 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969337574@lists.php.net to get a copy of this message | ||
jeroen Fri Sep 14 19:25:37 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
Add the note to array_intersect too
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.93 phpdoc/en/functions/array.xml:1.94
--- phpdoc/en/functions/array.xml:1.93 Fri Sep 14 19:14:49 2001
+++ phpdoc/en/functions/array.xml Fri Sep 14 19:25:36 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.93 $ -->
+<!-- $Revision: 1.94 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -366,6 +366,20 @@
This makes <varname>$result</varname> have <literal>array ("a"
=> "green", "red");</literal>
</para>
+ <note>
+ <simpara>
+ Two elements are considered equal if and only if
+ <literal>(string) $elem1 === (string) $elem2</literal>. In words:
+ when the string representation is the same.
+ <!-- TODO: example of it... -->
+ </simpara>
+ </note>
+ <warning>
+ <simpara>
+ This was broken in PHP 4.0.4!
+ <!-- TODO: when exactly was this broken?... -->
+ </simpara>
+ </warning>
<para>
See also <function>array_diff</function>.
</para>