com doc/ja: Fix signatures of some GD functions wrt. PHP 8.0: reference/image/functions/imagegrabwindow.xml reference/image/functions/imageinterlace.xml reference/image/functions/imagerotate.xml

[email protected] (Yoshinari Takaoka) Thu, 18 Mar 2021 17:15:20 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
Commit:    625beca05b31860bc72ad6c876bb9eebdc516fd3=0AAuthor:    Yoshinari =
Takaoka <[email protected]>         Fri, 19 Mar 2021 02:15:20 +0900=0AParen=
ts:   6973eafcdb10f7495f3c7ba8c949e9ecc86297cc=0ABranches:  master=0A=0ALin=
k:       http://git.php.net/?p=3Ddoc/ja.git;a=3Dcommitdiff;h=3D625beca05b31=
860bc72ad6c876bb9eebdc516fd3=0A=0ALog:=0AFix signatures of some GD function=
s wrt. PHP 8.0=0A=0ARegarding the return type of `imageinterlace()`, see=0A=
<php/php-src@c174344>.=0A=0AChanged paths:=0A  M  reference/image/functions=
/imagegrabwindow.xml=0A  M  reference/image/functions/imageinterlace.xml=0A=
  M  reference/image/functions/imagerotate.xml=0A=0A=0ADiff:=0Adiff --git a=
/reference/image/functions/imagegrabwindow.xml b/reference/image/functions/=
imagegrabwindow.xml=0Aindex 6fb18dec8e..5f32d72695 100644=0A--- a/reference=
/image/functions/imagegrabwindow.xml=0A+++ b/reference/image/functions/imag=
egrabwindow.xml=0A@@ -1,6 +1,6 @@=0A <?xml version=3D"1.0" encoding=3D"utf-=
8"?>=0A <!-- $Revision$ -->=0A-<!-- EN-Revision: e41806c30bf6975e452c0d4ce3=
5ab0984c2fa68c Maintainer: takagi Status: ready -->=0A+<!-- EN-Revision: 34=
316e9ecfcffa5ebefe7cd37f5fbd629d50e5f9 Maintainer: takagi Status: ready -->=
=0A <!-- Credits: mumumu -->=0A <refentry xml:id=3D"function.imagegrabwindo=
w" xmlns=3D"http://docbook.org/ns/docbook">=0A  <refnamediv>=0A@@ -13,7 +13=
,7 @@=0A   <methodsynopsis>=0A    <type>resource</type><methodname>imagegra=
bwindow</methodname>=0A    <methodparam><type>int</type><parameter>window_h=
andle</parameter></methodparam>=0A-   <methodparam choice=3D"opt"><type>int=
</type><parameter>client_area</parameter><initializer>0</initializer></meth=
odparam>=0A+   <methodparam choice=3D"opt"><type>bool</type><parameter>clie=
nt_area</parameter><initializer>0</initializer></methodparam>=0A   </method=
synopsis>=0A   <para>=0A    =E3=82=A6=E3=82=A3=E3=83=B3=E3=83=89=E3=82=
=A6=E3=81=82=E3=82=8B=E3=81=84=E3=81=AF=E3=81=9D=E3=81=AE=E3=82=AF=E3=83=
=A9=E3=82=A4=E3=82=A2=E3=83=B3=E3=83=88=E9=A0=98=E5=9F=9F=E3=81=AE=E3=82=
=AD=E3=83=A3=E3=83=97=E3=83=81=E3=83=A3=E3=82=92=E3=80=81=0A@@ -65,6 +65,30=
 @@=0A   </para>=0A  </refsect1>=0A =0A+ <refsect1 role=3D"changelog">=0A+ =
 &reftitle.changelog;=0A+  <informaltable>=0A+   <tgroup cols=3D"2">=0A+   =
 <thead>=0A+     <row>=0A+      <entry>&Version;</entry>=0A+      <entry>&D=
escription;</entry>=0A+     </row>=0A+    </thead>=0A+    <tbody>=0A+     <=
row>=0A+      <entry>8.0.0</entry>=0A+      <entry>=0A+       <parameter>cl=
ient_area</parameter> =E3=81=AF=E3=80=81=0A+       <type>bool</type> =
=E3=82=92=E6=9C=9F=E5=BE=85=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=
=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82=0A+       =E3=81=
=93=E3=82=8C=E3=82=88=E3=82=8A=E5=89=8D=E3=81=AE=E3=83=90=E3=83=BC=E3=82=
=B8=E3=83=A7=E3=83=B3=E3=81=A7=E3=81=AF=E3=80=81=E6=95=B0=E5=80=A4=E5=9E=
=8B=E3=82=92=E6=9C=9F=E5=BE=85=E3=81=97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=
=97=E3=81=9F=E3=80=82=0A+      </entry>=0A+     </row>=0A+    </tbody>=0A+ =
  </tgroup>=0A+  </informaltable>=0A+ </refsect1>=0A+=0A  <refsect1 role=3D=
"examples">=0A   &reftitle.examples;=0A   <para>=0Adiff --git a/reference/i=
mage/functions/imageinterlace.xml b/reference/image/functions/imageinterlac=
e.xml=0Aindex 5c48613769..96b69fd146 100644=0A--- a/reference/image/functio=
ns/imageinterlace.xml=0A+++ b/reference/image/functions/imageinterlace.xml=
=0A@@ -1,6 +1,6 @@=0A <?xml version=3D"1.0" encoding=3D"utf-8"?>=0A <!-- $R=
evision$ -->=0A-<!-- EN-Revision: c352a8f0a701804a3446203867bc40e1690800f4 =
Maintainer: hirokawa Status: ready -->=0A+<!-- EN-Revision: 34316e9ecfcffa5=
ebefe7cd37f5fbd629d50e5f9 Maintainer: hirokawa Status: ready -->=0A <!-- Cr=
edits: mumumu -->=0A <refentry xml:id=3D"function.imageinterlace" xmlns=3D"=
http://docbook.org/ns/docbook">=0A  <refnamediv>=0A@@ -12,7 +12,7 @@=0A   <=
methodsynopsis>=0A    <type>int</type><methodname>imageinterlace</methodnam=
e>=0A    <methodparam><type>resource</type><parameter>image</parameter></me=
thodparam>=0A-   <methodparam choice=3D"opt"><type class=3D"union"><type>bo=
ol</type><type>null</type></type><parameter>interlace</parameter><initializ=
er>&null;</initializer></methodparam>=0A+   <methodparam choice=3D"opt"><ty=
pe class=3D"union"><type>bool</type><type>null</type></type><parameter>enab=
le</parameter><initializer>&null;</initializer></methodparam>=0A   </method=
synopsis>=0A   <para>=0A    <function>imageinterlace</function> =E3=81=
=AF=E3=80=81=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=BC=E3=83=AC=E3=83=BC=E3=82=
=B9=E3=83=93=E3=83=83=E3=83=88=E3=82=92on=0A@@ -44,10 +44,45 @@=0A  <refsec=
t1 role=3D"returnvalues">=0A   &reftitle.returnvalues;=0A   <para>=0A-   =
=E7=94=BB=E5=83=8F=E3=81=AE=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=BC=E3=83=AC=
=E3=83=BC=E3=82=B9=E3=83=93=E3=83=83=E3=83=88=E3=81=8C=E8=A8=AD=E5=AE=9A=
=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E5=A0=B4=E5=90=88=E3=81=AB 1=
=E3=80=81=0A-   =E3=81=9D=E3=82=8C=E4=BB=A5=E5=A4=96=E3=81=AE=E5=A0=B4=
=E5=90=88=E3=81=AB 0 =E3=82=92=E8=BF=94=E3=81=97=E3=81=BE=E3=81=99=E3=80=
=82=0A+   =E7=94=BB=E5=83=8F=E3=81=AE=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=
=BC=E3=83=AC=E3=83=BC=E3=82=B9=E3=83=93=E3=83=83=E3=83=88=E3=81=8C=E8=A8=
=AD=E5=AE=9A=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E5=A0=B4=E5=90=
=88=E3=81=AB &true; =E3=80=81=0A+   =E3=81=9D=E3=82=8C=E4=BB=A5=E5=A4=96=
=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AB &false; =E3=82=92=E8=BF=94=E3=81=97=
=E3=81=BE=E3=81=99=E3=80=82=0A   </para>=0A  </refsect1>=0A+=0A+ <refsect1 =
role=3D"changelog">=0A+  &reftitle.changelog;=0A+  <informaltable>=0A+   <t=
group cols=3D"2">=0A+    <thead>=0A+     <row>=0A+      <entry>&Version;</e=
ntry>=0A+      <entry>&Description;</entry>=0A+     </row>=0A+    </thead>=
=0A+    <tbody>=0A+     <row>=0A+      <entry>8.0.5</entry>=0A+      <entry=
>=0A+       <function>imageinterlace</function> =E3=81=AF=E3=80=81=0A+     =
  <type>bool</type> =E3=82=92=E8=BF=94=E3=81=99=E3=82=88=E3=81=86=E3=81=
=AB=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82=0A+       =
=E3=81=93=E3=82=8C=E3=82=88=E3=82=8A=E5=89=8D=E3=81=AE=E3=83=90=E3=83=BC=
=E3=82=B8=E3=83=A7=E3=83=B3=E3=81=A7=E3=81=AF=E3=80=81<type>int</type> =
=E3=82=92=E8=BF=94=E3=81=97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=97=E3=81=9F=
=E3=80=82=0A+       (=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=BC=E3=83=AC=E3=83=
=BC=E3=82=B9=E7=94=BB=E5=83=8F=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AF 0 =
=E3=81=A7=E3=81=AA=E3=81=84=E5=80=A4=E3=82=92=E3=80=81=0A+       =E3=81=
=9D=E3=81=86=E3=81=A7=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E3=81=AF 0 =
=E3=82=92=E8=BF=94=E3=81=97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=97=E3=81=9F)=
=0A+      </entry>=0A+     </row>=0A+     <row>=0A+      <entry>8.0.0</entr=
y>=0A+      <entry>=0A+       <parameter>enable</parameter> =E3=81=AF=
=E3=80=81=0A+       <type>bool</type> =E3=81=AE=E5=80=A4=E3=82=92=E6=9C=
=9F=E5=BE=85=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=AA=E3=82=
=8A=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82=0A+       =E3=81=93=E3=82=8C=
=E3=82=88=E3=82=8A=E5=89=8D=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=
=E3=83=B3=E3=81=A7=E3=81=AF=E3=80=81=E6=95=B0=E5=80=A4=E5=9E=8B=E3=82=92=
=E6=9C=9F=E5=BE=85=E3=81=97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=97=E3=81=9F=
=E3=80=82=0A+      </entry>=0A+     </row>=0A+    </tbody>=0A+   </tgroup>=
=0A+  </informaltable>=0A+ </refsect1>=0A+=0A  <refsect1 role=3D"examples">=
=0A   &reftitle.examples;=0A   <para>=0Adiff --git a/reference/image/functi=
ons/imagerotate.xml b/reference/image/functions/imagerotate.xml=0Aindex ffd=
c050030..44c77c39d0 100644=0A--- a/reference/image/functions/imagerotate.xm=
l=0A+++ b/reference/image/functions/imagerotate.xml=0A@@ -1,6 +1,6 @@=0A <?=
xml version=3D"1.0" encoding=3D"utf-8"?>=0A <!-- $Revision$ -->=0A-<!-- EN-=
Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: hirokawa Sta=
tus: ready -->=0A+<!-- EN-Revision: 34316e9ecfcffa5ebefe7cd37f5fbd629d50e5f=
9 Maintainer: hirokawa Status: ready -->=0A <!-- CREDITS: shimooka,mumumu -=
->=0A <refentry xml:id=3D"function.imagerotate" xmlns=3D"http://docbook.org=
/ns/docbook">=0A  <refnamediv>=0A@@ -14,7 +14,7 @@=0A    <methodparam><type=
>resource</type><parameter>image</parameter></methodparam>=0A    <methodpar=
am><type>float</type><parameter>angle</parameter></methodparam>=0A    <meth=
odparam><type>int</type><parameter>bgd_color</parameter></methodparam>=0A- =
  <methodparam choice=3D"opt"><type>int</type><parameter>dummy</parameter><=
initializer>0</initializer></methodparam>=0A+   <methodparam choice=3D"opt"=
><type>bool</type><parameter>ignore_transparent</parameter><initializer>&fa=
lse;</initializer></methodparam>=0A   </methodsynopsis>=0A   <para>=0A    =
=E7=94=BB=E5=83=8F <parameter>image</parameter> =E3=82=92=E3=80=81=0A@@ -47=
,7 +47,7 @@=0A      </listitem>=0A     </varlistentry>=0A     <varlistentry=
>=0A-     <term><parameter>dummy</parameter></term>=0A+     <term><paramete=
r>ignore_transparent</parameter></term>=0A      <listitem>=0A       <para>=
=0A        =E3=81=93=E3=81=AE=E5=BC=95=E6=95=B0=E3=81=AF=E4=BD=BF=E3=82=
=8F=E3=82=8C=E3=81=A6=E3=81=84=E3=81=BE=E3=81=9B=E3=82=93=E3=80=82=0A@@ -64=
,6 +64,31 @@=0A   </para>=0A  </refsect1>=0A =0A+ <refsect1 role=3D"changel=
og">=0A+  &reftitle.changelog;=0A+  <informaltable>=0A+   <tgroup cols=3D"2=
">=0A+    <thead>=0A+     <row>=0A+      <entry>&Version;</entry>=0A+      =
<entry>&Description;</entry>=0A+     </row>=0A+    </thead>=0A+    <tbody>=
=0A+     <row>=0A+      <entry>8.0.0</entry>=0A+      <entry>=0A+       =
=E4=BD=BF=E3=82=8F=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=
=E3=81=9F=0A+       <parameter>ignore_transparent</parameter> =E3=81=AF=
=E3=80=81=0A+       <type>bool</type> =E3=82=92=E6=9C=9F=E5=BE=85=E3=81=
=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=
=97=E3=81=9F=E3=80=82=0A+       =E3=81=93=E3=82=8C=E3=82=88=E3=82=8A=
=E5=89=8D=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=81=A7=
=E3=81=AF=E3=80=81=E6=95=B0=E5=80=A4=E5=9E=8B=E3=82=92=E6=9C=9F=E5=BE=85=
=E3=81=97=E3=81=A6=E3=81=84=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82=0A+      </=
entry>=0A+     </row>=0A+    </tbody>=0A+   </tgroup>=0A+  </informaltable>=
=0A+ </refsect1>=0A+=0A  <refsect1 role=3D"examples">=0A   &reftitle.exampl=
es;=0A   <para>=0A