[doc-en] master: Describe options param
| From: | Jakub Vrana | Date: | Thu, 03 Jul 2025 08:15:35 +0000 |
| Subject: | [doc-en] master: Describe options param | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22707@lists.php.net to get a copy of this message | ||
Author: Jakub Vrana (vrana)
Date: 2025-07-03T10:02:16+02:00
Commit: https://github.com/php/doc-en/commit/48220b9fcde41afb13e0b7f3e806f51cd179df90
Raw diff: https://github.com/php/doc-en/commit/48220b9fcde41afb13e0b7f3e806f51cd179df90.diff
Describe options param
Changed paths:
M reference/image/functions/imagettfbbox.xml
M reference/image/functions/imagettftext.xml
Diff:
diff --git a/reference/image/functions/imagettfbbox.xml b/reference/image/functions/imagettfbbox.xml
index 559e40be55ac..f8cbc8d67762 100644
--- a/reference/image/functions/imagettfbbox.xml
+++ b/reference/image/functions/imagettfbbox.xml
@@ -55,6 +55,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>options</parameter></term>
+ <listitem>
+ <para>
+ Same as in <function>imagettftext</function>.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
diff --git a/reference/image/functions/imagettftext.xml b/reference/image/functions/imagettftext.xml
index aba06920286a..55982186b591 100644
--- a/reference/image/functions/imagettftext.xml
+++ b/reference/image/functions/imagettftext.xml
@@ -109,6 +109,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>options</parameter></term>
+ <listitem>
+ <para>
+ An array with <literal>linespacing</literal> key holding a
<type>float</type> value.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>