[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Add changelog for array_diff and array_intersect functions (#1650)
From:       othercorey via GitHub <noreply () php ! net>
Date:       2022-06-27 21:18:30
Message-ID: TVj9FYJ3P7bngvZHcCuhtBUWDEoEDlqz5LIhdEhBh00 () main ! php ! net
[Download RAW message or body]

Author: othercorey (othercorey)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2022-06-27T16:12:32-05:00

Commit: https://github.com/php/doc-en/commit/c84024092aee02b51dd18b909af0f2ccbdd24f98
Raw diff: https://github.com/php/doc-en/commit/c84024092aee02b51dd18b909af0f2ccbdd24f98.diff


Add changelog for array_diff and array_intersect functions (#1650)

Changed paths:
  M  language-snippets.ent
  M  reference/array/functions/array-diff-assoc.xml
  M  reference/array/functions/array-diff-key.xml
  M  reference/array/functions/array-diff.xml
  M  reference/array/functions/array-intersect-assoc.xml
  M  reference/array/functions/array-intersect-key.xml
  M  reference/array/functions/array-intersect.xml


Diff:

diff --git a/language-snippets.ent b/language-snippets.ent
index 32525b7ac56..5539574cf78 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -603,6 +603,14 @@ use.</simpara></note>'>
  </entry>
 </row>'>
 
+<!ENTITY array.changelog.require-only-one '<row \
xmlns="http://docbook.org/ns/docbook"> +  <entry>8.0.0</entry>
+  <entry>
+  This function can now be called with only one parameter.
+  Formerly, at least two parameters have been required.
+  </entry>
+</row>'>
+
 <!ENTITY seealso.array.sorting 'The <link xmlns="http://docbook.org/ns/docbook" \
linkend="array.sorting">comparison of array sorting functions</link>'>  
 <!ENTITY sort.flags.parameter '<varlistentry xmlns="http://docbook.org/ns/docbook">
diff --git a/reference/array/functions/array-diff-assoc.xml \
b/reference/array/functions/array-diff-assoc.xml index ec6cd177349..b792f26c3da \
                100644
--- a/reference/array/functions/array-diff-assoc.xml
+++ b/reference/array/functions/array-diff-assoc.xml
@@ -55,6 +55,25 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
 <!--
  <refsect1 role="errors">
   &reftitle.errors;
diff --git a/reference/array/functions/array-diff-key.xml \
b/reference/array/functions/array-diff-key.xml index a51dc0a9bd9..90e8d075147 100644
--- a/reference/array/functions/array-diff-key.xml
+++ b/reference/array/functions/array-diff-key.xml
@@ -57,6 +57,25 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
 <!--
  <refsect1 role="errors">
   &reftitle.errors;
diff --git a/reference/array/functions/array-diff.xml \
b/reference/array/functions/array-diff.xml index a8e167f69f5..4bba2365010 100644
--- a/reference/array/functions/array-diff.xml
+++ b/reference/array/functions/array-diff.xml
@@ -53,6 +53,25 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
diff --git a/reference/array/functions/array-intersect-assoc.xml \
b/reference/array/functions/array-intersect-assoc.xml index 7822079fb39..513173d063b \
                100644
--- a/reference/array/functions/array-intersect-assoc.xml
+++ b/reference/array/functions/array-intersect-assoc.xml
@@ -53,6 +53,25 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
diff --git a/reference/array/functions/array-intersect-key.xml \
b/reference/array/functions/array-intersect-key.xml index 1bf061c63e1..9206949b92e \
                100644
--- a/reference/array/functions/array-intersect-key.xml
+++ b/reference/array/functions/array-intersect-key.xml
@@ -50,7 +50,26 @@
    Returns an associative array containing all the entries of 
    <parameter>array</parameter> which have keys that are present in all
    arguments.
-  </para>      
+  </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
  </refsect1>
 
  <refsect1 role="examples">
diff --git a/reference/array/functions/array-intersect.xml \
b/reference/array/functions/array-intersect.xml index 568f1a5a672..bc5b9eecd95 100644
--- a/reference/array/functions/array-intersect.xml
+++ b/reference/array/functions/array-intersect.xml
@@ -51,7 +51,26 @@
    Returns an array containing all of the values in 
    <parameter>array</parameter> whose values exist in all of the parameters.
   </para>
- </refsect1> 
+ </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      &array.changelog.require-only-one;
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
 
  <refsect1 role="examples">
   &reftitle.examples;

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic