Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
133bc45
PHP 8.3 release page
saundefined Jun 26, 2023
b7555d6
Apply suggestions from code review
saundefined Sep 26, 2023
3846a53
Apply suggestions from code review
saundefined Sep 26, 2023
ebb6bf3
Apply suggestions from code review
saundefined Sep 26, 2023
199f58e
Fix markup
saundefined Sep 26, 2023
7adbc29
Add Typed class constants examples
saundefined Sep 26, 2023
60f27de
Apply suggestions from code review
saundefined Sep 26, 2023
fa2b310
Add Dynamic class constant fetch examples
saundefined Sep 26, 2023
e46db42
Use `()` for functions
saundefined Sep 26, 2023
04806ba
Add Readonly amendments examples
saundefined Sep 26, 2023
91b09fa
Use lang file
saundefined Oct 4, 2023
f278e6f
Update releases/8.3/release.inc
saundefined Oct 14, 2023
7704c11
Add PHP 8.3 logo
pronskiy Oct 31, 2023
619f211
Merge pull request #2 from pronskiy/php83
saundefined Nov 2, 2023
2d6097c
Randomizer doc links
saundefined Oct 5, 2023
ab5013b
Released image
saundefined Nov 2, 2023
327b3a3
fix: cs
saundefined Nov 2, 2023
4cba2b4
Move readonly amendments down
saundefined Nov 2, 2023
b7e0cdf
Apply suggestions from code review
saundefined Nov 3, 2023
3d71ed3
Apply suggestions from code review
saundefined Nov 3, 2023
3f00e0b
Add EC support in OpenSSL
saundefined Nov 3, 2023
dab41e0
Update releases/8.3/languages/en.php
saundefined Nov 3, 2023
693e0b9
Apply suggestions from code review
saundefined Nov 3, 2023
e4c84e3
Links to docs
saundefined Nov 7, 2023
27cc8d2
Links to docs
saundefined Nov 15, 2023
8b04023
Add links to Intl docs
saundefined Nov 16, 2023
ac55c2b
Temporary hide PHP 8.3 refs
saundefined Nov 17, 2023
da3fcea
Add Russian translation, English wording
saundefined Nov 17, 2023
8619152
Typos
saundefined Nov 17, 2023
21efcbe
Update releases/8.3/release.inc
saundefined Nov 17, 2023
9dc7e56
Add links to docs
saundefined Nov 18, 2023
e5d2c38
Apply suggestions from code review
saundefined Nov 18, 2023
4be5e4c
Apply suggestions from code review
saundefined Nov 18, 2023
2c72e27
Apply suggestions from code review
saundefined Nov 18, 2023
5a5cfc7
Add new INI setting and deprecate old ones in PHP 8.3
saundefined Nov 21, 2023
50ea4ea
Fix
saundefined Nov 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use lang file
  • Loading branch information
saundefined committed Oct 4, 2023
commit 91b09fa608b85aabca64a4487734507570ccf2c7
27 changes: 27 additions & 0 deletions releases/8.3/languages/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,35 @@
'main_subtitle' => 'PHP 8.3 is a major update of the PHP language.<br class="display-none-md">It contains many new features, including Readonly amendments, Typed class constants, Randomizer additions, performance improvements and more.',
'upgrade_now' => 'Upgrade to PHP 8.3 now!',

'readonly_title' => 'Readonly amendments',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'typed_class_constants_title' => 'Typed class constants',
'override_title' => '<code>#[\Override]</code> attribute',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'randomizer_getbytesfromstring_title' => 'New <code>Randomizer::getBytesFromString()</code> method',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'randomizer_getfloat_nextfloat_title' => 'New <code>Randomizer::getFloat()</code> and <code>Randomizer::nextFloat()</code> methods',
'randomizer_getfloat_nextfloat_description' => 'The algorithm used is the 纬-section algorithm as published in:
Comment thread
saundefined marked this conversation as resolved.
Outdated
<a href="https://doi.org/10.1145/3503512" target="_blank" rel="noopener noreferrer">Drawing Random
Floating-Point Numbers from an Interval</a>.
Fr茅d茅ric Goualard, ACM Trans. Model. Comput. Simul., 32:3, 2022.',
'dynamic_class_constant_fetch_title' => 'Dynamic class constant fetch',

'new_classes_title' => 'New Classes, Interfaces, and Functions',
'new_json_validate' => 'New <code>json_validate()</code> function.',
'new_ldap' => 'New <code>ldap_connect_wallet()</code>, and <code>ldap_exop_sync()</code> functions.',
'new_mb_str_pad' => 'New <code>mb_str_pad()</code> function.',
'new_posix' => 'New <code>posix_sysconf()</code>, <code>posix_pathconf()</code>, <code>posix_fpathconf()</code>, and <code>posix_eaccess()</code> functions.',
'new_reflection' => 'New <code>ReflectionMethod::createFromMethodName()</code> method.',
'new_socket' => 'New <code>socket_atmark()</code> function.',
'new_str' => 'New <code>str_increment()</code>, <code>str_decrement()</code>, and <code>stream_context_set_options()</code> functions.',
'new_ziparchive' => 'New <code>ZipArchive::getArchiveFlag()</code> function.',

'bc_title' => 'Deprecations and backward compatibility breaks',
'bc_datetime' => 'More Appropriate Date/Time Exceptions.',
'bc_arrays' => 'Negative indices in arrays.',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'bc_range' => 'Changes to the <code>range()</code> function.',
'bc_traits' => 'Traits and static properties.',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'bc_umultipledecimalseparators' => 'The <code>U_MULTIPLE_DECIMAL_SEPERATORS</code> constant had been deprecated in favor of <code>U_MULTIPLE_DECIMAL_SEPARATORS</code>.',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'bc_mtrand' => 'The <code>MT_RAND_PHP</code> Mt19937 variant is deprecated.',
Comment thread
saundefined marked this conversation as resolved.
Outdated
'bc_reflection' => '<code>ReflectionClass::getStaticProperties()</code> is no longer nullable.',

'footer_title' => 'Better performance, better syntax, improved type safety.',
'footer_description' => '<p>For source downloads of PHP 8.3 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_3">ChangeLog</a>.</p>
Expand Down
53 changes: 22 additions & 31 deletions releases/8.3/release.inc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ common_header(message('common_header', $lang));
<section class="php8-section center">
<div class="php8-compare">
<h2 class="php8-h2" id="readonly_classes">
Comment thread
saundefined marked this conversation as resolved.
Outdated
Readonly amendments
<?= message('readonly_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/readonly_amendments">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -122,7 +122,7 @@ PHP

<div class="php8-compare">
<h2 class="php8-h2" id="typed_class_constants">
Typed class constants
<?= message('typed_class_constants_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/typed_class_constants">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -168,7 +168,7 @@ PHP

<div class="php8-compare">
<h2 class="php8-h2" id="override_attribute">
<code>#[\Override]</code> attribute
<?= message('override_title', $lang) ?>
Comment thread
saundefined marked this conversation as resolved.
<a class="php8-rfc" href="https://wiki.php.net/rfc/marking_overriden_methods">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -238,7 +238,7 @@ PHP

<div class="php8-compare">
<h2 class="php8-h2" id="randomizer_get_bytes_from_string">
New <code>Randomizer::getBytesFromString()</code> method
<?= message('randomizer_getbytesfromstring_title', $lang) ?>
Comment thread
saundefined marked this conversation as resolved.
<a class="php8-rfc" href="https://wiki.php.net/rfc/randomizer_additions#getbytesfromstring">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -302,7 +302,7 @@ PHP

<div class="php8-compare">
<h2 class="php8-h2" id="randomizer_get_float">
New <code>Randomizer::getFloat()</code> and <code>Randomizer::nextFloat()</code> methods
<?= message('randomizer_getfloat_nextfloat_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/randomizer_additions#getfloat">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -358,15 +358,12 @@ PHP
</div>

<div class="php8-compare__content">
The algorithm used is the 纬-section algorithm as published in:
<a href="https://doi.org/10.1145/3503512" target="_blank" rel="noopener noreferrer">Drawing Random
Floating-Point Numbers from an Interval</a>.
Fr茅d茅ric Goualard, ACM Trans. Model. Comput. Simul., 32:3, 2022.
<?= message('randomizer_getfloat_nextfloat_description', $lang) ?>
</div>

<div class="php8-compare">
<h2 class="php8-h2" id="dynamic_class_constant_fetch">
Dynamic class constant fetch
<?= message('dynamic_class_constant_fetch_title', $lang) ?>
<a class="php8-rfc" href="https://wiki.php.net/rfc/dynamic_class_constant_fetch">RFC</a>
</h2>
<div class="php8-compare__main">
Expand Down Expand Up @@ -415,19 +412,14 @@ PHP
<h2 class="php8-h2" id="other_new_things"><?= message('new_classes_title', $lang) ?></h2>
<div class="php8-compare__content php8-compare__content--block">
<ul>
Comment thread
saundefined marked this conversation as resolved.
<li>New <code>json_validate()</code> function.</li>
<li>New <code>ldap_connect_wallet()</code>, and <code>ldap_exop_sync()</code> functions.</li>
<li>New <code>mb_str_pad()</code> function.</li>
<li>New <code>posix_sysconf()</code>, <code>posix_pathconf()</code>, <code>posix_fpathconf()</code>,
and
<code>posix_eaccess()</code> functions.
</li>
<li>New <code>ReflectionMethod::createFromMethodName()</code> method.</li>
<li>New <code>socket_atmark()</code> function.</li>
<li>New <code>str_increment()</code>, <code>str_decrement()</code>, and
<code>stream_context_set_options()</code> functions.
</li>
<li>New <code>ZipArchive::getArchiveFlag()</code> function.</li>
<li><?= message('new_json_validate', $lang) ?></li>
<li><?= message('new_ldap', $lang) ?></li>
<li><?= message('new_mb_str_pad', $lang) ?></li>
<li><?= message('new_posix', $lang) ?></li>
<li><?= message('new_reflection', $lang) ?></li>
<li><?= message('new_socket', $lang) ?></li>
<li><?= message('new_str', $lang) ?></li>
<li><?= message('new_ziparchive', $lang) ?></li>
</ul>
</div>
</div>
Expand All @@ -436,14 +428,13 @@ PHP
<h2 class="php8-h2" id="deprecations_and_bc_breaks"><?= message('bc_title', $lang) ?></h2>
<div class="php8-compare__content">
<ul>
<li>More Appropriate Date/Time Exceptions.</li>
<li>Negative indices in arrays.</li>
<li>Changes to the <code>range()</code> function.</li>
<li>Traits and static properties.</li>
<li>The <code>U_MULTIPLE_DECIMAL_SEPERATORS</code> constant had been deprecated in favor of <code>U_MULTIPLE_DECIMAL_SEPARATORS</code>.
</li>
<li>The <code>MT_RAND_PHP</code> Mt19937 variant is deprecated.</li>
<li><code>ReflectionClass::getStaticProperties()</code> is no longer nullable.</li>
<li><?= message('bc_datetime', $lang) ?></li>
<li><?= message('bc_arrays', $lang) ?></li>
<li><?= message('bc_range', $lang) ?></li>
<li><?= message('bc_traits', $lang) ?></li>
<li><?= message('bc_umultipledecimalseparators', $lang) ?></li>
<li><?= message('bc_mtrand', $lang) ?></li>
<li><?= message('bc_reflection', $lang) ?></li>
</ul>
</div>
</div>
Expand Down