Skip to content

Commit

Permalink
Update ext-dom features and HTML5 section
Browse files Browse the repository at this point in the history
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
  • Loading branch information
saundefined and nielsdos committed Oct 24, 2024
1 parent fe5465f commit 2cff463
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion releases/8.4/languages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
'asymmetric_visibility_title' => 'Asymmetric Visibility',
'deprecated_attribute_title' => '<code>#[\Deprecated]</code> Attribute',
'dom_additions_html5_title' => 'New ext-dom features and HTML5 support',
'dom_additions_html5_description' => 'New <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, <code>DOMXPath::quote()</code>, and <code>XSLTProcessor::registerPHPFunctionNS()</code> methods are available.',
'new_array_find_title' => 'New <code>array_*()</code> functions',
'pdo_driver_specific_parsers_title' => 'PDO Driver specific SQL parsers',
'pdo_driver_specific_parsers_description' => 'New subclasses <code>Pdo\Dblib</code>, <code>Pdo\Firebird</code>, <code>Pdo\MySql</code>, <code>Pdo\Odbc</code>, <code>Pdo\Sqlite</code> of <code>PDO</code> are available.',
Expand All @@ -21,7 +22,6 @@
'new_core_functions' => 'New <code>request_parse_body()</code> function.',
'new_bcmath_functions' => 'New <code>bcceil()</code>, <code>bcdivmod()</code>, <code>bcfloor()</code>, and <code>bcround()</code> functions.',
'new_date_functions' => 'New <code>DateTime::createFromTimestamp()</code>, <code>DateTime::getMicrosecond()</code>, <code>DateTime::setMicrosecond()</code>, <code>DateTimeImmutable::createFromTimestamp()</code>, <code>DateTimeImmutable::getMicrosecond()</code>, and <code>DateTimeImmutable::setMicrosecond()</code> methods.',
'new_dom_functions' => 'New <code>DOMNode::compareDocumentPosition()</code>, <code>DOMXPath::registerPhpFunctionNS()</code>, and <code>DOMXPath::quote()</code> methods.',
'new_mb_functions' => 'New <code>mb_trim()</code>, <code>mb_ltrim()</code>, <code>mb_rtrim()</code>, <code>mb_ucfirst()</code>, and <code>mb_lcfirst()</code> functions.',
'new_pcntl_functions' => 'New <code>pcntl_getcpu()</code>, <code>pcntl_getcpuaffinity()</code>, <code>pcntl_getqos_class()</code>, <code>pcntl_setns()</code>, and <code>pcntl_waitid()</code> functions.',
'new_reflection_functions' => 'New <code>ReflectionClassConstant::isDeprecated()</code>, <code>ReflectionGenerator::isClosed()</code>, and <code>ReflectionProperty::isDynamic()</code> methods.',
Expand Down
9 changes: 6 additions & 3 deletions releases/8.4/release.inc
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class PhpVersion
public function getPhpVersion() {
return $this->getVersion();
}
public function getVersion() {
return '8.3';
}
Expand Down Expand Up @@ -219,7 +219,7 @@ class PhpVersion
public function getPhpVersion() {
return $this->getVersion();
}
public function getVersion() {
return '8.4';
}
Expand All @@ -235,7 +235,7 @@ PHP
</div>
</div>
<div class="php8-compare">
<h2 class="php8-h2" id="dom_additions_84">
<h2 class="php8-h2" id="dom_additions_html5">
<?= message('dom_additions_html5_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/dom_additions_84">RFC</a>
<a class="php8-rfc" href="https://wiki.php.net/rfc/domdocument_html5_parser">RFC</a>
Expand Down Expand Up @@ -283,6 +283,9 @@ PHP
</div>
</div>
</div>
<div class="php8-compare__content">
<?= message('dom_additions_html5_description', $lang) ?>
</div>
</div>
<div class="php8-compare">
<h2 class="php8-h2" id="new_array_find">
Expand Down

0 comments on commit 2cff463

Please sign in to comment.