From 9570d7f1e53d4bda20e0f3a82bf1465f2adb0a42 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Mon, 20 Jul 2026 11:36:46 +0200 Subject: [PATCH 1/6] =?UTF-8?q?feat:=20mise=20=C3=A0=20jour=20EN-Revision?= =?UTF-8?q?=20pour=2022=20fichiers=20(migration83/85=20et=20r=C3=A9f=C3=A9?= =?UTF-8?q?rences)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appendices/migration83/deprecated.xml | 2 +- appendices/migration83/incompatible.xml | 2 +- appendices/migration83/new-features.xml | 2 +- appendices/migration83/other-changes.xml | 2 +- appendices/migration85/deprecated.xml | 2 +- appendices/migration85/incompatible.xml | 2 +- appendices/migration85/new-features.xml | 2 +- appendices/migration85/other-changes.xml | 2 +- appendices/migration85/windows-support.xml | 2 +- reference/com/functions/variant-cat.xml | 2 +- reference/datetime/datetime/construct.xml | 2 +- reference/datetime/datetimeimmutable/construct.xml | 2 +- reference/mongodb/tutorial/apm.xml | 2 +- reference/pcre/functions/preg-match-all.xml | 2 +- reference/pcre/functions/preg-match.xml | 2 +- reference/session/examples.xml | 2 +- reference/session/functions/session-decode.xml | 2 +- reference/session/sessionhandler/destroy.xml | 2 +- reference/session/sessionhandler/read.xml | 2 +- reference/session/sessionhandler/write.xml | 2 +- reference/stream/constants.xml | 2 +- reference/yac/yac/dump.xml | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/appendices/migration83/deprecated.xml b/appendices/migration83/deprecated.xml index 62f46002c0..f489093278 100644 --- a/appendices/migration83/deprecated.xml +++ b/appendices/migration83/deprecated.xml @@ -1,5 +1,5 @@ - + Устаревшая функциональность diff --git a/appendices/migration83/incompatible.xml b/appendices/migration83/incompatible.xml index b0fbd593e4..5f1f3ba1f5 100644 --- a/appendices/migration83/incompatible.xml +++ b/appendices/migration83/incompatible.xml @@ -1,5 +1,5 @@ - + Изменения, которые ломают обратную совместимость diff --git a/appendices/migration83/new-features.xml b/appendices/migration83/new-features.xml index 54a44ea7eb..c2fc907b2e 100644 --- a/appendices/migration83/new-features.xml +++ b/appendices/migration83/new-features.xml @@ -1,5 +1,5 @@ - + Новая функциональность diff --git a/appendices/migration83/other-changes.xml b/appendices/migration83/other-changes.xml index 5e8a27f4bb..12870711f8 100644 --- a/appendices/migration83/other-changes.xml +++ b/appendices/migration83/other-changes.xml @@ -1,5 +1,5 @@ - + Другие изменения diff --git a/appendices/migration85/deprecated.xml b/appendices/migration85/deprecated.xml index 99b7221395..ceca487c76 100644 --- a/appendices/migration85/deprecated.xml +++ b/appendices/migration85/deprecated.xml @@ -1,5 +1,5 @@ - + Устаревшая функциональность diff --git a/appendices/migration85/incompatible.xml b/appendices/migration85/incompatible.xml index 19a36ae10f..3f9278a9f7 100644 --- a/appendices/migration85/incompatible.xml +++ b/appendices/migration85/incompatible.xml @@ -1,5 +1,5 @@ - + Изменения, которые ломают обратную совместимость diff --git a/appendices/migration85/new-features.xml b/appendices/migration85/new-features.xml index 6261ba35e6..c736b6c002 100644 --- a/appendices/migration85/new-features.xml +++ b/appendices/migration85/new-features.xml @@ -1,5 +1,5 @@ - + Новая функциональность diff --git a/appendices/migration85/other-changes.xml b/appendices/migration85/other-changes.xml index 8146188cc1..8f16fb6292 100644 --- a/appendices/migration85/other-changes.xml +++ b/appendices/migration85/other-changes.xml @@ -1,5 +1,5 @@ - + Другие изменения diff --git a/appendices/migration85/windows-support.xml b/appendices/migration85/windows-support.xml index 7af69b6bb9..afc506838f 100644 --- a/appendices/migration85/windows-support.xml +++ b/appendices/migration85/windows-support.xml @@ -1,5 +1,5 @@ - + Подержка ОС Windows diff --git a/reference/com/functions/variant-cat.xml b/reference/com/functions/variant-cat.xml index b97f4ba974..81aaacdc1a 100644 --- a/reference/com/functions/variant-cat.xml +++ b/reference/com/functions/variant-cat.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/datetime/datetime/construct.xml b/reference/datetime/datetime/construct.xml index 620a1abb52..027026ac2b 100644 --- a/reference/datetime/datetime/construct.xml +++ b/reference/datetime/datetime/construct.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/datetime/datetimeimmutable/construct.xml b/reference/datetime/datetimeimmutable/construct.xml index 1dbb23a515..3d08198945 100644 --- a/reference/datetime/datetimeimmutable/construct.xml +++ b/reference/datetime/datetimeimmutable/construct.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/mongodb/tutorial/apm.xml b/reference/mongodb/tutorial/apm.xml index 015a5f3dc2..b83bd9f60f 100644 --- a/reference/mongodb/tutorial/apm.xml +++ b/reference/mongodb/tutorial/apm.xml @@ -1,5 +1,5 @@ - +
Мониторинг производительности приложения (Application Performance Monitoring, или APM) diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index ff5efaca3a..cdbf707d52 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/pcre/functions/preg-match.xml b/reference/pcre/functions/preg-match.xml index ee0fa61d1f..e96a595020 100644 --- a/reference/pcre/functions/preg-match.xml +++ b/reference/pcre/functions/preg-match.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/session/examples.xml b/reference/session/examples.xml index fe41cf3703..8f4e7c5d11 100644 --- a/reference/session/examples.xml +++ b/reference/session/examples.xml @@ -1,5 +1,5 @@ - + &reftitle.examples; diff --git a/reference/session/functions/session-decode.xml b/reference/session/functions/session-decode.xml index 1db37cafc0..339c303261 100644 --- a/reference/session/functions/session-decode.xml +++ b/reference/session/functions/session-decode.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/session/sessionhandler/destroy.xml b/reference/session/sessionhandler/destroy.xml index 427fe86ff0..c2c9b30f47 100644 --- a/reference/session/sessionhandler/destroy.xml +++ b/reference/session/sessionhandler/destroy.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/session/sessionhandler/read.xml b/reference/session/sessionhandler/read.xml index d2bd2afa72..c2985356ab 100644 --- a/reference/session/sessionhandler/read.xml +++ b/reference/session/sessionhandler/read.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/session/sessionhandler/write.xml b/reference/session/sessionhandler/write.xml index b924f96bc5..62b9066ee2 100644 --- a/reference/session/sessionhandler/write.xml +++ b/reference/session/sessionhandler/write.xml @@ -1,5 +1,5 @@ - + diff --git a/reference/stream/constants.xml b/reference/stream/constants.xml index 711fd3b297..fca821ed52 100644 --- a/reference/stream/constants.xml +++ b/reference/stream/constants.xml @@ -1,5 +1,5 @@ - + &reftitle.constants; diff --git a/reference/yac/yac/dump.xml b/reference/yac/yac/dump.xml index caa175c1a0..804694ae1b 100644 --- a/reference/yac/yac/dump.xml +++ b/reference/yac/yac/dump.xml @@ -1,5 +1,5 @@ - + From 81a7c1720f472ca240b6866c2a79dc569394671f Mon Sep 17 00:00:00 2001 From: lacatoire Date: Mon, 20 Jul 2026 14:27:04 +0200 Subject: [PATCH 2/6] fix(sync): update stale EN-Revision hashes and convert para to simpara --- appendices/migration83/deprecated.xml | 12 ++--- appendices/migration83/new-features.xml | 4 +- appendices/migration83/other-changes.xml | 44 +++++++++---------- appendices/migration85/deprecated.xml | 2 +- appendices/migration85/incompatible.xml | 2 +- appendices/migration85/other-changes.xml | 14 +----- reference/com/functions/variant-cat.xml | 4 +- reference/datetime/datetime/construct.xml | 16 +++---- .../datetime/datetimeimmutable/construct.xml | 16 +++---- reference/session/examples.xml | 4 +- .../session/functions/session-decode.xml | 4 +- reference/session/sessionhandler/destroy.xml | 4 +- reference/session/sessionhandler/read.xml | 4 +- reference/session/sessionhandler/write.xml | 4 +- 14 files changed, 61 insertions(+), 73 deletions(-) diff --git a/appendices/migration83/deprecated.xml b/appendices/migration83/deprecated.xml index f489093278..5e9391a7ba 100644 --- a/appendices/migration83/deprecated.xml +++ b/appendices/migration83/deprecated.xml @@ -37,10 +37,10 @@ DBA - + Вызов функции dba_fetch с параметром $dba в качестве третьего аргумента устарел. - + @@ -69,20 +69,20 @@ LDAP - + Вызов функции ldap_connect с отдельными параметрами $hostname и $port устарел. - + MBString - + Передача отрицательного значения в параметр $width функции mb_strimwidth устарела. - + diff --git a/appendices/migration83/new-features.xml b/appendices/migration83/new-features.xml index c2fc907b2e..946a16e498 100644 --- a/appendices/migration83/new-features.xml +++ b/appendices/migration83/new-features.xml @@ -154,10 +154,10 @@ echo $user_ini['listen']; // localhost:9000 Модуль POSIX - + Функция posix_getrlimit теперь содержит необязательный параметр $resource, чтобы разрешить получение ограничения отдельного ресурса. - + Функция posix_isatty теперь выдаёт предупреждения о типе целых чисел, diff --git a/appendices/migration83/other-changes.xml b/appendices/migration83/other-changes.xml index 12870711f8..26c97c93df 100644 --- a/appendices/migration83/other-changes.xml +++ b/appendices/migration83/other-changes.xml @@ -178,11 +178,11 @@ Модуль Gd - + Сигнатура функции imagerotate изменилась. Параметр $ignore_transparent был удалён, поскольку он игнорировался с версии PHP 5.5.0. - + @@ -265,18 +265,18 @@ Модуль mysqli - + Функция mysqli_fetch_object теперь выбрасывает исключение ValueError вместо исключения Exception, когда в параметр $constructor_args передан непустой аргумент, а в классе не определён конструктор. - + - + Функция mysqli_poll теперь выбрасывает исключение ValueError, когда не переданы ни аргументы параметра $read, ни аргументы параметра $error. - + В функции mysqli_field_seek @@ -288,23 +288,23 @@ Программный интерфейс ODBC - + Теперь для параметра $enable функция odbc_autocommit принимает значение &null;. При передаче значения &null; функция будет вести себя так же, как и при передаче значения только для одного параметра, то есть — укажет, включена ли автофиксация или нет. - + Модуль PGSQL - + Функция pg_fetch_object теперь выбрасывает исключение ValueError вместо исключения Exception, когда в параметр $constructor_args передаётся непустой аргумент, а в классе не определён конструктор. - + Функция pg_insert теперь выбрасывает исключение ValueError @@ -318,12 +318,12 @@ правильно не совпадает с типом PostgreSQL. - + Параметр $row функций pg_fetch_result, pg_field_prtlen и pg_field_is_null теперь может принимать значение &null;. - + @@ -374,21 +374,21 @@ если токен не предоставлен при запуске токенизации. - + Функция password_hash теперь будет связывать в цепочку базовое исключение Random\RandomException как исключение Exception свойства $previous исключения ValueError, когда генерация соли завершится неудачей. - + - + Передаваемый в параметр $command функции proc_open массив теперь должен содержать хотя бы один непустой элемент. Или будет выброшено исключение ValueError. - + - + Функция proc_open возвращает значение &false;, если переданный в параметр $command массив — это не допустимая команда, а объект ресурса, который выдаёт предупреждение позже. @@ -396,7 +396,7 @@ если выбрана реализация posix_spawn (бо́льшая часть платформ Linux, BSD и MacOS). Всё ещё существуют старые платформы, на которых это поведение не изменено, поскольку posix_spawn на них не поддерживается. - + Функции array_sum и array_product теперь @@ -407,7 +407,7 @@ - + Параметр $decimals функции number_format теперь правильно обрабатывает отрицательные целые числа. Округление с отрицательным значением для параметра $decimals означает, @@ -415,13 +415,13 @@ значащих цифр перед десятичной точкой. Ранее отрицательные значения параметра $decimals молча игнорировались и число округлялось до нуля десятичных знаков. - + - + Новый параметр $before_needle был добавлен в функцию strrchr. Он ведет себя так же, как его аналог в функциях strstr или stristr. - + Функции str_getcsv и fgetcsv теперь возвращают diff --git a/appendices/migration85/deprecated.xml b/appendices/migration85/deprecated.xml index ceca487c76..7a75e65e8e 100644 --- a/appendices/migration85/deprecated.xml +++ b/appendices/migration85/deprecated.xml @@ -1,5 +1,5 @@ - + Устаревшая функциональность diff --git a/appendices/migration85/incompatible.xml b/appendices/migration85/incompatible.xml index 3f9278a9f7..fd62ad07d7 100644 --- a/appendices/migration85/incompatible.xml +++ b/appendices/migration85/incompatible.xml @@ -1,5 +1,5 @@ - + Изменения, которые ломают обратную совместимость diff --git a/appendices/migration85/other-changes.xml b/appendices/migration85/other-changes.xml index 8f16fb6292..c1234db5e9 100644 --- a/appendices/migration85/other-changes.xml +++ b/appendices/migration85/other-changes.xml @@ -1,5 +1,5 @@ - + Другие изменения @@ -351,18 +351,6 @@ - - Модуль Opcache - - - Модуль Opcache теперь всегда - встроен в бинарный файл PHP и всегда загружается. - INI-директивы opcache.enable и - opcache.enable_cli по-прежнему соблюдаются. - - - - Модуль PCRE diff --git a/reference/com/functions/variant-cat.xml b/reference/com/functions/variant-cat.xml index 81aaacdc1a..40e1e3e98b 100644 --- a/reference/com/functions/variant-cat.xml +++ b/reference/com/functions/variant-cat.xml @@ -17,10 +17,10 @@ Объединяет left с right и возвращает результат. - + Функция эквивалентна выполнению $left . $right. - + &reftitle.parameters; diff --git a/reference/datetime/datetime/construct.xml b/reference/datetime/datetime/construct.xml index 027026ac2b..8c9aea2b75 100644 --- a/reference/datetime/datetime/construct.xml +++ b/reference/datetime/datetime/construct.xml @@ -32,33 +32,33 @@ datetime &date.formats.parameter; - + Если используется аргумент $timezone, то для получения текущего времени в новом объекте достаточно передать "now" в качестве этого аргумента. - + timezone - + Объект класса DateTimeZone, представляющий часовой пояс параметра $datetime. - - + + Если аргумент $timezone не задан или &null;, будет использован текущий часовой пояс. - + - + Значение аргумента $timezone, равно как и текущий часовой пояс не будут учитываться, если в качестве аргумента $datetime передаётся метка времени UNIX (например, @946684800) или время, в котором часовой пояс уже содержится (например, 2010-01-28T15:00:00+02:00). - + diff --git a/reference/datetime/datetimeimmutable/construct.xml b/reference/datetime/datetimeimmutable/construct.xml index 3d08198945..2f2dac8b9b 100644 --- a/reference/datetime/datetimeimmutable/construct.xml +++ b/reference/datetime/datetimeimmutable/construct.xml @@ -34,32 +34,32 @@ datetime &date.formats.parameter; - + Для получения текущего времени в параметр timezone передают строку "now". - + timezone - + Объект DateTimeZone, которым представляется часовой пояс параметра datetime. - - + + Функция использует текущий часовой пояс, если параметр timezone опустили или значение аргумента равно значению &null;. - + - + Функция проигнорирует значение аргумента timezone и текущий часовой пояс, если в аргументе datetime передали или метку времени эпохи Unix наподобие @946684800), или указали часовой пояс наподобие 2010-01-28T15:00:00+02:00 или 2010-07-05T06:00:00Z. - + diff --git a/reference/session/examples.xml b/reference/session/examples.xml index 8f4e7c5d11..4bdc367ec4 100644 --- a/reference/session/examples.xml +++ b/reference/session/examples.xml @@ -239,12 +239,12 @@ if (empty($_SESSION['count'])) { Когда сессия специально уничтожена, PHP вызовет обработчик destroy с идентификатором сессии. - + PHP будет вызывать обработчик функции обратного вызова gc время от времени, чтобы пометить сессии как истёкшие в соответствии с временем жизни сессий. Эта операция удалит все записи из постоянного хранилища, доступ к которым не осуществлялся более чем интервал времени, указанный в параметре $lifetime. - +