svn: /phpdoc/ru/trunk/reference/ calendar/functions/cal-from-jd.xml calendar/functions/easter-date.xml calendar/functions/easter-days.xml calendar/functions/jddayofweek.xml calendar/functions/jdmonthname.xml calendar/functions/jdtofrench.xml calendar/functions/jdtogregorian.xml calendar/functions/jdtojewish.xml calendar/functions/jdtojulian.xml calendar/functions/jdtounix.xml calendar/functions/unixtojd.xml image/functions/imagesetinterpolation.xml
[email protected] (Sergey Panteleev) Tue, 24 Nov 2020 07:53:38 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 24 Nov 2020 07:53:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351567
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/reference/calendar/functions/cal-from-jd.xml
U phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml
U phpdoc/ru/trunk/reference/calendar/functions/easter-days.xml
U phpdoc/ru/trunk/reference/calendar/functions/jddayofweek.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdmonthname.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdtofrench.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdtogregorian.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdtojewish.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdtojulian.xml
U phpdoc/ru/trunk/reference/calendar/functions/jdtounix.xml
U phpdoc/ru/trunk/reference/calendar/functions/unixtojd.xml
U phpdoc/ru/trunk/reference/image/functions/imagesetinterpolation.xml
svn-diffs-351567.txt
(text/x-diff, 24.4 KB)
Modified: phpdoc/ru/trunk/reference/calendar/functions/cal-from-jd.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/cal-from-jd.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/cal-from-jd.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344407 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-<refentry xml:id='function.cal-from-jd' xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.cal-from-jd" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>cal_from_jd</refname>
<refpurpose>Преобразует дату, заданную в юлианском календаре, в дату указанного календаря</refpurpose>
@@ -12,12 +12,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>cal_from_jd</methodname>
- <methodparam><type>int</type><parameter>jd</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
<methodparam><type>int</type><parameter>calendar</parameter></methodparam>
</methodsynopsis>
<para>
<function>cal_from_jd</function> преобразует дату юлианского календаря, заданную в
- <parameter>jd</parameter>, в дату указанного календаря
+ <parameter>julian_day</parameter>, в дату указанного календаря
<parameter>calendar</parameter>. Поддерживаемые значения
<parameter>calendar</parameter>:
<constant>CAL_GREGORIAN</constant>,
@@ -32,7 +32,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>jd</parameter></term>
+ <term><parameter>julian_day</parameter></term>
<listitem>
<para>
День юлианского календаря как целое число
@@ -110,7 +110,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347874 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.easter-date" xmlns="http://docbook.org/ns/docbook">
@@ -14,8 +14,8 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>easter_date</methodname>
- <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
</methodsynopsis>
<para>
Возвращает метку времени Unix, соответствующую полуночи
@@ -51,13 +51,13 @@
<term><parameter>year</parameter></term>
<listitem>
<para>
- Год - число между 1970 и 2037. Если не указан, то
+ Год - число между 1970 и 2037. Если не указан или &null;, то
по умолчанию равен текущему года, согласно местному времени.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>method</parameter></term>
+ <term><parameter>mode</parameter></term>
<listitem>
<para>
Позволяет рассчитывать даты Пасхи на основе юлианского календаря,
@@ -79,6 +79,28 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>year</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -161,7 +183,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/easter-days.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/easter-days.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/easter-days.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 334605 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.easter-days" xmlns="http://docbook.org/ns/docbook">
@@ -14,8 +14,8 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>easter_days</methodname>
- <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
</methodsynopsis>
<para>
Возвращает количество дней между 21 марта и Пасхой в заданном году.
@@ -50,13 +50,13 @@
<term><parameter>year</parameter></term>
<listitem>
<para>
- Год, положительное число. Если не задан, используется текущий год в соответствии
+ Год, положительное число. Если не задан или &null;, используется текущий год в соответствии
с локальным временем сервера.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>method</parameter></term>
+ <term><parameter>mode</parameter></term>
<listitem>
<para>
Позволяет расcчитать Пасхальные даты, основываясь на григорианском
@@ -78,6 +78,28 @@
году <parameter>year</parameter>.
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>year</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
<refsect1 role="examples">
&reftitle.examples;
@@ -108,7 +130,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jddayofweek.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jddayofweek.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jddayofweek.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 336889 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jddayofweek" xmlns="http://docbook.org/ns/docbook">
@@ -13,9 +13,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>jddayofweek</methodname>
- <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>CAL_DOW_DAYNO</initializer></methodparam>
+ <type class="union"><type>int</type><type>string</type></type><methodname>jddayofweek</methodname>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_DOW_DAYNO</constant></initializer></methodparam>
</methodsynopsis>
<para>
Возвращает день недели. Может возвращать строку или число в зависимости
@@ -28,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>julianday</parameter></term>
+ <term><parameter>julian_day</parameter></term>
<listitem>
<para>
День в виде числа в юлианском летоисчислении
@@ -87,7 +87,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdmonthname.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdmonthname.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdmonthname.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344408 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jdmonthname" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>jdmonthname</methodname>
- <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
@@ -108,7 +108,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdtofrench.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdtofrench.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdtofrench.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 336889 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jdtofrench" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>jdtofrench</methodname>
- <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
</methodsynopsis>
<para>
Переводит число дней в юлианском летоисчислении в дату по
@@ -56,7 +56,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdtogregorian.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdtogregorian.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdtogregorian.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 336889 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jdtogregorian" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>jdtogregorian</methodname>
- <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
</methodsynopsis>
<para>
Переводит число дней в юлианском летоисчислении в строку,
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>julianday</parameter></term>
+ <term><parameter>julian_day</parameter></term>
<listitem>
<para>
Номер дня в юлианском летоисчислении в виде целого числа
@@ -56,7 +56,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdtojewish.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdtojewish.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdtojewish.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344421 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.jdtojewish">
+<refentry xml:id="function.jdtojewish" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>jdtojewish</refname>
<refpurpose>
@@ -14,9 +14,9 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>jdtojewish</methodname>
- <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>hebrew</parameter><initializer>&false;</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>fl</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Переводит количество дней из юлианского календаря в дату по
@@ -42,12 +42,12 @@
<para>
Если аргумент <parameter>hebrew</parameter> установлен в &true;,
дата будет возвращена в виде закодированной строки ISO-8859-8 в еврейском формате, заданном
- аргументом <parameter>fl</parameter>.
+ аргументом <parameter>flags</parameter>.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>fl</parameter></term>
+ <term><parameter>flags</parameter></term>
<listitem>
<para>
Битовая маска может состоять из:
@@ -106,8 +106,6 @@
</para>
</refsect1>
</refentry>
-
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdtojulian.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdtojulian.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdtojulian.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 336889 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jdtojulian" xmlns="http://docbook.org/ns/docbook">
@@ -15,7 +15,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>jdtojulian</methodname>
- <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
</methodsynopsis>
<para>
Переводит число дней в юлианском летоисчислении в строку,
@@ -28,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>julianday</parameter></term>
+ <term><parameter>julian_day</parameter></term>
<listitem>
<para>
Номер дня в юлианском летоисчислении
@@ -56,7 +56,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/jdtounix.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/jdtounix.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/jdtounix.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351135 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.jdtounix" xmlns="http://docbook.org/ns/docbook">
@@ -13,14 +13,12 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type class="union"><type>int</type><type>false</type></type><methodname>jdtounix</methodname>
- <methodparam><type>int</type><parameter>jday</parameter></methodparam>
+ <type>int</type><methodname>jdtounix</methodname>
+ <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
</methodsynopsis>
<para>
Эта функция вернет метку времени Unix, соответствующую номеру дня в
- юлианском летоисчислении, заданному в <parameter>jday</parameter>
- либо &false;, если <parameter>jday</parameter> находится
- вне допустимого диапазона. Будет возвращено UTC.
+ юлианском летоисчислении, заданному в <parameter>julian_day</parameter>. Будет возвращено UTC.
</para>
</refsect1>
@@ -29,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>jday</parameter></term>
+ <term><parameter>julian_day</parameter></term>
<listitem>
<para>
Номер дня в юлианском летоисчислении между <literal>2440588</literal> и <literal>106751993607888</literal>
@@ -44,11 +42,18 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Метка времени Unix на момент начала (полночь) юлианского дня,
- &return.falseforfailure;.
+ Метка времени Unix на момент начала (полночь) юлианского дня.
</para>
</refsect1>
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ Если <parameter>julian_day</parameter> находится за пределами допустимого диапазона,
+ выбрасывается <classname>ValueError</classname>.
+ </para>
+ </refsect1>
+
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
@@ -61,9 +66,16 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ Функция больше не возвращает &false; в случае возникновения ошибки,
+ вместо этого выбрасывает <classname>ValueError</classname>.
+ </entry>
+ </row>
+ <row>
<entry>7.3.24, 7.4.12</entry>
<entry>
- Увеличен верхний предел <parameter>jday</parameter>.
+ Увеличен верхний предел <parameter>julian_day</parameter>.
Раньше он был <literal>2465342</literal> независимо от архитектуры.
</entry>
</row>
@@ -81,7 +93,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/calendar/functions/unixtojd.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/unixtojd.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/calendar/functions/unixtojd.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 342998 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.unixtojd" xmlns="http://docbook.org/ns/docbook">
@@ -13,8 +13,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>unixtojd</methodname>
- <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+ <type class="union"><type>int</type><type>false</type></type><methodname>unixtojd</methodname>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Возвращает юлианский день для заданной метки времени Unix
@@ -43,10 +43,32 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Число дней в юлианском летоисчислении.
+ Число дней в юлианском летоисчислении, &return.falseforfailure;.
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>timestamp</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -56,7 +78,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/image/functions/imagesetinterpolation.xml
===================================================================
--- phpdoc/ru/trunk/reference/image/functions/imagesetinterpolation.xml 2020-11-24 07:41:32 UTC (rev 351566)
+++ phpdoc/ru/trunk/reference/image/functions/imagesetinterpolation.xml 2020-11-24 07:53:38 UTC (rev 351567)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 340409 Maintainer: sergey Status: ready -->
+<!-- EN-Revision: 351555 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="function.imagesetinterpolation" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagesetinterpolation</refname>
@@ -194,8 +193,15 @@
</itemizedlist>
</para>
</refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>imagegetinterpolation</function></member>
+ </simplelist>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml