[DOC-CVS] [doc-en] master: Fix parameter names to match between synopsis and description part (#5247)

[email protected] (Christian Schneider via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Christian Schneider (chschneider)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2026-02-08T10:00:50+01:00

Commit: https://github.com/php/doc-en/commit/c6fb604f39a0fa7bf1ae872064b2a3a24f23d855
Raw diff: https://github.com/php/doc-en/commit/c6fb604f39a0fa7bf1ae872064b2a3a24f23d855.diff

Fix parameter names to match between synopsis and description part (#5247)

Changed paths:
  M  language-snippets.ent
  M  reference/calendar/functions/jdmonthname.xml
  M  reference/funchand/functions/forward-static-call-array.xml
  M  reference/image/functions/imageinterlace.xml
  M  reference/oci8/functions/oci-free-descriptor.xml
  M  reference/ps/functions/ps-begin-pattern.xml
  M  reference/ps/functions/ps-open-image.xml
  M  reference/ps/functions/ps-set-info.xml


Diff:

diff --git a/language-snippets.ent b/language-snippets.ent
index 7d4211215ab2..302a9c81131d 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -896,7 +896,7 @@ function.</simpara></warning>'>
 
 <!-- OpenSSL -->
 <!ENTITY openssl.param.x509 '<varlistentry xmlns="http://docbook.org/ns/docbook">
- <term><parameter>x509</parameter></term>
+ <term><parameter>certificate</parameter></term>
  <listitem>
   <para>
    See <link linkend="openssl.certparams">Key/Certificate parameters</link> for a list of valid values.
diff --git a/reference/calendar/functions/jdmonthname.xml b/reference/calendar/functions/jdmonthname.xml
index 153629b9c3cd..443caeff35f3 100644
--- a/reference/calendar/functions/jdmonthname.xml
+++ b/reference/calendar/functions/jdmonthname.xml
@@ -70,7 +70,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>jday</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        The Julian Day to operate on
diff --git a/reference/funchand/functions/forward-static-call-array.xml b/reference/funchand/functions/forward-static-call-array.xml
index 67f9bfbec829..d2aba7efd68e 100644
--- a/reference/funchand/functions/forward-static-call-array.xml
+++ b/reference/funchand/functions/forward-static-call-array.xml
@@ -39,7 +39,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>parameter</parameter></term>
+     <term><parameter>args</parameter></term>
      <listitem>
       <para>
        One parameter, gathering all the method parameter in one array.
diff --git a/reference/image/functions/imageinterlace.xml b/reference/image/functions/imageinterlace.xml
index c8bfdfdf2855..573f8ef819ae 100644
--- a/reference/image/functions/imageinterlace.xml
+++ b/reference/image/functions/imageinterlace.xml
@@ -26,7 +26,7 @@
    <variablelist>
     &gd.image.description;
     <varlistentry>
-     <term><parameter>interlace</parameter></term>
+     <term><parameter>enable</parameter></term>
      <listitem>
       <para>
        If &true;, the image will be interlaced, if &false; the interlace bit is turned off.
diff --git a/reference/oci8/functions/oci-free-descriptor.xml b/reference/oci8/functions/oci-free-descriptor.xml
index ddc030e98918..cb608970eec6 100644
--- a/reference/oci8/functions/oci-free-descriptor.xml
+++ b/reference/oci8/functions/oci-free-descriptor.xml
@@ -22,7 +22,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>descriptor</parameter></term>
+     <term><parameter>lob</parameter></term>
      <listitem>
       <para>
        Descriptor allocated by <function>oci_new_descriptor</function>.
diff --git a/reference/ps/functions/ps-begin-pattern.xml b/reference/ps/functions/ps-begin-pattern.xml
index 15d85e9f9d78..fe9c63352243 100644
--- a/reference/ps/functions/ps-begin-pattern.xml
+++ b/reference/ps/functions/ps-begin-pattern.xml
@@ -56,7 +56,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>x-step</parameter></term>
+     <term><parameter>xstep</parameter></term>
      <listitem>
       <para>
        The distance in pixel of placements of the pattern in
@@ -65,7 +65,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>y-step</parameter></term>
+     <term><parameter>ystep</parameter></term>
      <listitem>
       <para>
        The distance in pixel of placements of the pattern in
diff --git a/reference/ps/functions/ps-open-image.xml b/reference/ps/functions/ps-open-image.xml
index 9aafc5aa84ff..685663fd78e2 100644
--- a/reference/ps/functions/ps-open-image.xml
+++ b/reference/ps/functions/ps-open-image.xml
@@ -15,7 +15,7 @@
    <methodparam><type>string</type><parameter>type</parameter></methodparam>
    <methodparam><type>string</type><parameter>source</parameter></methodparam>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam><type>int</type><parameter>lenght</parameter></methodparam>
+   <methodparam><type>int</type><parameter>length</parameter></methodparam>
    <methodparam><type>int</type><parameter>width</parameter></methodparam>
    <methodparam><type>int</type><parameter>height</parameter></methodparam>
    <methodparam><type>int</type><parameter>components</parameter></methodparam>
diff --git a/reference/ps/functions/ps-set-info.xml b/reference/ps/functions/ps-set-info.xml
index 691470c1fa03..b00cf190998f 100644
--- a/reference/ps/functions/ps-set-info.xml
+++ b/reference/ps/functions/ps-set-info.xml
@@ -11,9 +11,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>ps_set_info</methodname>
-   <methodparam><type>resource</type><parameter>p</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>psdoc</parameter></methodparam>
    <methodparam><type>string</type><parameter>key</parameter></methodparam>
-   <methodparam><type>string</type><parameter>val</parameter></methodparam>
+   <methodparam><type>string</type><parameter>value</parameter></methodparam>
   </methodsynopsis>
   <para>
    Sets certain information fields of the document. This fields will be shown
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.