com web/php: Apply suggestions from code review: releases/8 _0_x.php releases/8_0_x_ru.php
| From: | Sara Golemon | Date: | Wed, 25 Nov 2020 20:28:13 +0000 |
| Subject: | com web/php: Apply suggestions from code review: releases/8 _0_x.php releases/8_0_x_ru.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28879@lists.php.net to get a copy of this message | ||
Commit: 1cecc9988a0143c0c2dfb4c674bfb7061f12ac56
Author: Roman Pronskiy <root@pronskiy.com> Fri, 20 Nov 2020 10:53:53 +0200
Committer: Sara Golemon <pollita@php.net> Wed, 25 Nov 2020 20:28:13 +0000
Parents: a8fbcd810b5c1cac39f49808df18a102203dfed0
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=1cecc9988a0143c0c2dfb4c674bfb7061f12ac56
Log:
Apply suggestions from code review
Co-authored-by: Sergey Panteleev <sergey@php.net>
Changed paths:
M releases/8_0_x.php
M releases/8_0_x_ru.php
Diff:
diff --git a/releases/8_0_x.php b/releases/8_0_x.php
index 8d5ffa5bb..4fd55184a 100644
--- a/releases/8_0_x.php
+++ b/releases/8_0_x.php
@@ -343,7 +343,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must be
and closure use lists <a href="https://wiki.php.net/rfc/trailing_comma_in_closure_use_list">RFC</a>.
</li>
<li>
- Non-capturing catches <a href="http://TODO">RFC</a>.
+ Non-capturing catches <a href="https://wiki.php.net/rfc/non-capturing_catches">RFC</a>.
</li>
<li>
Variable Syntax Tweaks <a href="https://wiki.php.net/rfc/variable_syntax_tweaks">RFC</a>.
@@ -369,14 +369,11 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must
be
<h2 class="php8-h2 php8-h2_margin-top">Type system and error handling
improvements</h2>
<ul>
<li>
- Saner string to number comparisons <a href="https://wiki.php.net/rfc/string_to_number_comparison">RFC</a>.
- </li>
- <li>
Stricter type checks for arithmetic/bitwise operators
<a href="https://wiki.php.net/rfc/arithmetic_operator_type_checks">RFC</a>.
</li>
<li>
- Abstract trait method validation <a href="http://TODO">RFC</a>.
+ Abstract trait method validation <a href="https://wiki.php.net/rfc/abstract_trait_method_validation">RFC</a>.
</li>
<li>
Correct signatures of magic methods <a href="https://wiki.php.net/rfc/magic-methods-signature">RFC</a>
@@ -467,4 +464,4 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must be
-<?php site_footer();
\ No newline at end of file
+<?php site_footer();
diff --git a/releases/8_0_x_ru.php b/releases/8_0_x_ru.php
index 7e5aa8e6a..39810202a 100644
--- a/releases/8_0_x_ru.php
+++ b/releases/8_0_x_ru.php
@@ -362,7 +362,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must be
Treat namespaced names as single token <a href="https://wiki.php.net/rfc/namespaced_names_as_token">RFC</a>.
</li>
<li>
- Throw expression <a href="https://wiki.php.net/rfc/throw_expression">RFC</a>.
+ Выражение Throw <a href="https://wiki.php.net/rfc/throw_expression">RFC</a>.
</li>
<li>
Добавление ::class для объектов <a href="https://wiki.php.net/rfc/class_name_literal_on_object">RFC</a>.
@@ -375,9 +375,6 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must be
<h2 class="php8-h2 php8-h2_margin-top">Улучшения в системе
типов и обработке ошибок</h2>
<ul>
<li>
- Улучшенное сравнение строк и чисел <a href="https://wiki.php.net/rfc/string_to_number_comparison">RFC</a>.
- </li>
- <li>
Более строгие проверки типов для
арифметических/побитовых операторов
<a href="https://wiki.php.net/rfc/arithmetic_operator_type_checks">RFC</a>.
</li>
@@ -458,9 +455,9 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument #2 ($length) must be
</div>
<div class="php8-footer__content">
<p>
- For source downloads of PHP 8 please visit the <a href="http://www.php.net/downloads">downloads</a>
page.
+ Для загрузки исходного кода PHP 8 посетите страницу
<a href="http://www.php.net/downloads">downloads</a>.
Бинарные файлы Windows находятся на сайте <a href="http://windows.php.net/download">PHP для
Windows</a>.
- The list of changes is recorded in the <a href="http://www.php.net/ChangeLog-8.php">ChangeLog</a>.
+ Список изменений представлен в <a href="http://www.php.net/ChangeLog-8.php">ChangeLog</a>.
</p>
<p>
<a href="http://php.net/manual/ru/migration8.php">Руководство
по миграции </a> доступно в разделе документация.
Пожалуйста,