[doc-en] master: Document Dom\Element::getElementsByClassName() for PHP 8.5 (#5879)
| From: | Louis-Arnaud via GitHub | Date: | Thu, 24 Sep 2026 21:03:49 +0000 |
| Subject: | [doc-en] master: Document Dom\Element::getElementsByClassName() for PHP 8.5 (#5879) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23773@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-09-24T23:03:46+02:00
Commit: https://github.com/php/doc-en/commit/d4f96dae6e6c07096bb06d187967be50ed13550e
Raw diff: https://github.com/php/doc-en/commit/d4f96dae6e6c07096bb06d187967be50ed13550e.diff
Document Dom\Element::getElementsByClassName() for PHP 8.5 (#5879)
Add a changelog entry noting the new getElementsByClassName method.
Changed paths:
M reference/dom/dom/dom-element.xml
Diff:
diff --git a/reference/dom/dom/dom-element.xml b/reference/dom/dom/dom-element.xml
index 67b33a02f5ed..eac33f218a80 100644
--- a/reference/dom/dom/dom-element.xml
+++ b/reference/dom/dom/dom-element.xml
@@ -247,6 +247,28 @@
</variablelist>
</section>
+ <section role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.5.0</entry>
+ <entry>
+ Added the <methodname>Dom\Element::getElementsByClassName</methodname> method.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </section>
+
<section role="notes">
&reftitle.notes;
&dom.note.modern.utf8;