Commit: 9a8f7c6e54172644e284357bcaf0779e97f20664
Author: George Peter Banyard <[email protected]> Thu, 26 Nov 2020
14:48:48 +0000
Parents: 3a9064eb3ce5958da3fa52422ddb39ee00cc9c26
Branches: master
Link:
http://git.php.net/?p=web/php.git;a=commitdiff;h=9a8f7c6e54172644e284357bcaf0779e97f20664
Log:
Nits for PHP 8 announcement page
Translations updated by abusing Google Translated and my limited knowledge of
said languages
Changed paths:
M releases/8.0/de.php
M releases/8.0/en.php
M releases/8.0/pt_BR.php
M releases/8.0/ru.php
diff --git a/releases/8.0/de.php b/releases/8.0/de.php
index 8fc2c5b0b..ac36f5820 100644
--- a/releases/8.0/de.php
+++ b/releases/8.0/de.php
@@ -126,7 +126,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="constructor-property-promotion">
Constructor Property Promotion
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a> <a
class="php8-rfc"
href="/manual/de/language.oop5.decon.php#language.oop5.decon.constructor.promotion">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -175,7 +175,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="union-types">
Union Types
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/union_types_v2">RFC</a> <a class="php8-rfc"
href="/manual/en/language.types.declarations.php#language.types.declarations.union">Doc</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/union_types_v2">RFC</a> <a class="php8-rfc"
href="/manual/de/language.types.declarations.php#language.types.declarations.union">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -223,7 +223,7 @@ new Number(\'NaN\'); // TypeError'
<div class="php8-compare">
<h2 class="php8-h2" id="match-expression">
Match Ausdruck
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a> <a class="php8-rfc"
href="/manual/de/control-structures.match.php">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -370,7 +370,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument
#2 ($length) must be
</div>
</div>
<div class="php8-compare__content">
- <p>Die meisten internen Funktionen erzeugen nun eine Fatal Error
Exception wenn die Typenvalidierung der Parameter
+ <p>Die meisten internen Funktionen erzeugen nun eine Error Exception
wenn die Typenvalidierung der Parameter
fehlschlägt.</p>
</div>
</div>
@@ -424,11 +424,17 @@ array_chunk([], -1); // ValueError: array_chunk():
Argument #2 ($length) must be
</li>
<li>
Typen für interne Funktionen
- <a href="https://externals.io/message/106522">RFC</a>
+ <a href="https://externals.io/message/106522">E-Mail-Thread</a>
</li>
<li>
- Curl verwendet nun Objekte anstelle des resource Typs
- <a href="https://php.watch/versions/8.0/resource-CurlHandle">RFC</a>
+ Objekte ohne Methoden anstelle des resource Typs für
+ <a
href="https://php.watch/versions/8.0/resource-CurlHandle">Curl</a>,
+ <a href="https://php.watch/versions/8.0/gdimage">Gd</a>,
+ <a
href="https://php.watch/versions/8.0/sockets-sockets-addressinfo">Sockets</a>,
+ <a
href="https://php.watch/versions/8.0/OpenSSL-resource">OpenSSL</a>,
+ <a
href="https://php.watch/versions/8.0/xmlwriter-resource">XMLWriter</a>, und
+ <a href="https://php.watch/versions/8.0/xmlwriter-resource">XML</a>
+ Extension
</li>
</ul>
</div>
diff --git a/releases/8.0/en.php b/releases/8.0/en.php
index f313672c5..74167e269 100644
--- a/releases/8.0/en.php
+++ b/releases/8.0/en.php
@@ -123,7 +123,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="constructor-property-promotion">
Constructor property promotion
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a> <a
class="php8-rfc"
href="/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -220,7 +220,7 @@ new Number(\'NaN\'); // TypeError'
<div class="php8-compare">
<h2 class="php8-h2" id="match-expression">
Match expression
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a> <a class="php8-rfc"
href="/manual/en/control-structures.match.php">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -366,7 +366,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument
#2 ($length) must be
</div>
</div>
<div class="php8-compare__content">
- <p>Most of the internal functions now throw a Fatal Error exception if
the validation of the parameters fails.</p>
+ <p>Most of the internal functions now throw an Error exception if the
validation of the parameters fails.</p>
</div>
</div>
</section>
@@ -419,11 +419,17 @@ array_chunk([], -1); // ValueError: array_chunk():
Argument #2 ($length) must be
</li>
<li>
Types for internal functions
- <a href="https://externals.io/message/106522">RFC</a>
+ <a href="https://externals.io/message/106522">Email thread</a>
</li>
<li>
- Curl objects instead of resources
- <a href="https://php.watch/versions/8.0/resource-CurlHandle">RFC</a>
+ Opaque objects instead of resources for
+ <a
href="https://php.watch/versions/8.0/resource-CurlHandle">Curl</a>,
+ <a href="https://php.watch/versions/8.0/gdimage">Gd</a>,
+ <a
href="https://php.watch/versions/8.0/sockets-sockets-addressinfo">Sockets</a>,
+ <a
href="https://php.watch/versions/8.0/OpenSSL-resource">OpenSSL</a>,
+ <a
href="https://php.watch/versions/8.0/xmlwriter-resource">XMLWriter</a>, and
+ <a href="https://php.watch/versions/8.0/xmlwriter-resource">XML</a>
+ extensions
</li>
</ul>
</div>
diff --git a/releases/8.0/pt_BR.php b/releases/8.0/pt_BR.php
index f7fdc6768..e0d1d316a 100644
--- a/releases/8.0/pt_BR.php
+++ b/releases/8.0/pt_BR.php
@@ -126,7 +126,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="constructor-property-promotion">
Promoção de propriedade de construtor
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a> <a
class="php8-rfc"
href="/manual/pt_BR/language.oop5.decon.php#language.oop5.decon.constructor.promotion">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -175,7 +175,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="union-types">
União de tipos
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/union_types_v2">RFC</a> <a class="php8-rfc"
href="/manual/en/language.types.declarations.php#language.types.declarations.union">Doc</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/union_types_v2">RFC</a> <a class="php8-rfc"
href="/manual/pt_BR/language.types.declarations.php#language.types.declarations.union">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -223,7 +223,7 @@ new Number(\'NaN\'); // TypeError'
<div class="php8-compare">
<h2 class="php8-h2" id="match-expression">
Expressão match
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a> <a class="php8-rfc"
href="/manual/pt_BR/control-structures.match.php">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -366,7 +366,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument
#2 ($length) must be
</div>
</div>
<div class="php8-compare__content">
- <p>A maioria das funções internas agora lançam uma exceção
Fatal Error se a validação do parâmetro falhar.</p>
+ <p>A maioria das funções internas agora lançam uma exceção
Error se a validação do parâmetro falhar.</p>
</div>
</div>
</section>
@@ -420,11 +420,17 @@ array_chunk([], -1); // ValueError: array_chunk():
Argument #2 ($length) must be
</li>
<li>
Tipagem de funções internas
- <a href="https://externals.io/message/106522">RFC</a>
+ <a
href="https://externals.io/message/106522">Discussão por email</a>
</li>
<li>
- Objetos curl em vez de recursos
- <a
href="https://php.watch/versions/8.0/resource-CurlHandle">RFC</a>
+ Objetos opacos em vez de recursos para
+ <a
href="https://php.watch/versions/8.0/resource-CurlHandle">Curl</a>,
+ <a
href="https://php.watch/versions/8.0/gdimage">Gd</a>,
+ <a
href="https://php.watch/versions/8.0/sockets-sockets-addressinfo">Sockets</a>,
+ <a
href="https://php.watch/versions/8.0/OpenSSL-resource">OpenSSL</a>,
+ <a
href="https://php.watch/versions/8.0/xmlwriter-resource">XMLWriter</a>, e
+ <a
href="https://php.watch/versions/8.0/xmlwriter-resource">XML</a>
+ extensões
</li>
</ul>
</div>
diff --git a/releases/8.0/ru.php b/releases/8.0/ru.php
index 7a9c3ea19..6c2995933 100644
--- a/releases/8.0/ru.php
+++ b/releases/8.0/ru.php
@@ -125,7 +125,7 @@ class User
<div class="php8-compare">
<h2 class="php8-h2" id="constructor-property-promotion">
Объявление свойств в конструкторе
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/constructor_promotion">RFC</a> <a
class="php8-rfc"
href="/manual/ru/language.oop5.decon.php#language.oop5.decon.constructor.promotion">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -222,7 +222,7 @@ new Number(\'NaN\'); // TypeError'
<div class="php8-compare">
<h2 class="php8-h2" id="match-expression">
Выражение Match
- <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a>
+ <a class="php8-rfc"
href="https://wiki.php.net/rfc/match_expression_v2">RFC</a> <a class="php8-rfc"
href="/manual/ru/control-structures.match.php">Doc</a>
</h2>
<div class="php8-compare__main">
<div class="php8-compare__block example-contents">
@@ -368,7 +368,7 @@ array_chunk([], -1); // ValueError: array_chunk(): Argument
#2 ($length) must be
</div>
</div>
<div class="php8-compare__content">
- <p>Большинство внутренних функций теперь выбрасывают исключение Fatal
Error, если при проверке параметра возникает ошибка.</p>
+ <p>Большинство внутренних функций теперь выбрасывают исключение Error,
если при проверке параметра возникает ошибка.</p>
</div>
</div>
</section>
@@ -421,11 +421,17 @@ array_chunk([], -1); // ValueError: array_chunk():
Argument #2 ($length) must be
</li>
<li>
Типы для стандартных функций
- <a href="https://externals.io/message/106522">RFC</a>
+ <a href="https://externals.io/message/106522">E-mail Тема</a>
</li>
<li>
- Объекты вместо ресурсов для cURL
- <a href="https://php.watch/versions/8.0/resource-CurlHandle">RFC</a>
+ Непрозрачные объекты вместо ресурсов для
+ <a
href="https://php.watch/versions/8.0/resource-CurlHandle">Curl</a>,
+ <a href="https://php.watch/versions/8.0/gdimage">Gd</a>,
+ <a
href="https://php.watch/versions/8.0/sockets-sockets-addressinfo">Sockets</a>,
+ <a
href="https://php.watch/versions/8.0/OpenSSL-resource">OpenSSL</a>,
+ <a
href="https://php.watch/versions/8.0/xmlwriter-resource">XMLWriter</a>, e
+ <a href="https://php.watch/versions/8.0/xmlwriter-resource">XML</a>
+ расширения
</li>
</ul>
</div>
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php