Skip to content

Commit 67c8ec8

Browse files
authored
Add missing trigger_error() deprecation to PHP 8.4 release page (#1233) (#1810)
The deprecation of passing E_USER_ERROR to trigger_error() was documented in the ChangeLog but missing from the release announcement.
1 parent 03ab57c commit 67c8ec8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

releases/8.4/languages/en.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
'bc_standard' => '<code>stream_bucket_make_writeable()</code> and <code>stream_bucket_new()</code> now return an instance of <code>StreamBucket</code> instead of <code>stdClass</code>.',
5252
'bc_core' => '<a href="/manual/en/migration84.incompatible.php#migration84.incompatible.core.exit"><code>exit()</code> behavioral change</a>.',
5353
'bc_warnings' => '<code>E_STRICT</code> constant has been deprecated.',
54+
'bc_trigger_error' => 'Passing <code>E_USER_ERROR</code> to <code>trigger_error()</code> is now deprecated.',
5455

5556
'footer_title' => 'Better performance, better syntax, improved type safety.',
5657
'footer_description' => '<p>For source downloads of PHP 8.4 please visit the <a href="/downloads">downloads</a> page. Windows binaries can be found on the <a href="https://windows.php.net/download">PHP for Windows</a> site. The list of changes is recorded in the <a href="/ChangeLog-8.php#PHP_8_4">ChangeLog</a>.</p>

releases/8.4/release.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ PHP
568568
<li><?= message('bc_standard', $lang) ?></li>
569569
<li><?= message('bc_core', $lang) ?></li>
570570
<li><?= message('bc_warnings', $lang) ?></li>
571+
<li><?= message('bc_trigger_error', $lang) ?></li>
571572
</ul>
572573
</div>
573574
</div>

0 commit comments

Comments
 (0)