[doc-en] master: Fix typos in several manual pages (#6019)
| From: | Louis-Arnaud via GitHub | Date: | Mon, 26 Oct 2026 14:05:39 +0000 |
| Subject: | [doc-en] master: Fix typos in several manual pages (#6019) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23894@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-10-26T15:05:36+01:00
Commit: https://github.com/php/doc-en/commit/20c2abcc58470191542aaf3235acb7b495d8f359
Raw diff: https://github.com/php/doc-en/commit/20c2abcc58470191542aaf3235acb7b495d8f359.diff
Fix typos in several manual pages (#6019)
* Fix typos in several manual pages
* Use simpara and drop trailing whitespace on edited paragraphs
Changed paths:
M appendices/filters.xml
M appendices/migration84/new-functions.xml
M reference/curl/functions/curl-version.xml
M reference/datetime/functions/date-parse-from-format.xml
M reference/mysqlnd/stats.xml
M reference/random/random/randomizer/getfloat.xml
M reference/snmp/functions/snmp-get-valueretrieval.xml
M reference/zip/constants.xml
Diff:
diff --git a/appendices/filters.xml b/appendices/filters.xml
index 5eb5a72f9ebb..f4c24925db95 100644
--- a/appendices/filters.xml
+++ b/appendices/filters.xml
@@ -200,7 +200,7 @@ fclose($fp);
</example>
</section>
- <section xml:id="filters.covert.quoted-printable">
+ <section xml:id="filters.convert.quoted-printable">
<title>convert.quoted-printable-encode and convert.quoted-printable-decode</title>
<simpara>
Use of the decode version of this filter is equivalent to processing all stream
diff --git a/appendices/migration84/new-functions.xml b/appendices/migration84/new-functions.xml
index 66cf8ea318ad..65fa48d2dd8c 100644
--- a/appendices/migration84/new-functions.xml
+++ b/appendices/migration84/new-functions.xml
@@ -207,7 +207,7 @@
<simplelist>
<member><function>sodium_crypto_aead_aegis128l_<replaceable>*</replaceable></function></member>
-
<member><function>sodium_crypto_aead_aegis256l_<replaceable>*</replaceable></function></member>
+
<member><function>sodium_crypto_aead_aegis256_<replaceable>*</replaceable></function></member>
</simplelist>
</sect2>
diff --git a/reference/curl/functions/curl-version.xml b/reference/curl/functions/curl-version.xml
index 21bb0ee8843a..e2e1c5248734 100644
--- a/reference/curl/functions/curl-version.xml
+++ b/reference/curl/functions/curl-version.xml
@@ -155,11 +155,11 @@
<para>
<example>
<title><function>curl_version</function> example</title>
- <para>
- This example will check which features that's available
- in cURL build by using the <literal>'features'</literal> bitmask
returned
+ <simpara>
+ This example will check which features are available
+ in the cURL build by using the <literal>'features'</literal> bitmask
returned
by <function>curl_version</function>.
- </para>
+ </simpara>
<programlisting role="php">
<![CDATA[
<?php
diff --git a/reference/datetime/functions/date-parse-from-format.xml
b/reference/datetime/functions/date-parse-from-format.xml
index a0da7f93996a..34d4e20b5fa2 100644
--- a/reference/datetime/functions/date-parse-from-format.xml
+++ b/reference/datetime/functions/date-parse-from-format.xml
@@ -98,10 +98,10 @@
<refsect1 role="errors">
&reftitle.errors;
- <para>
- This functions throws <exceptionname>ValueError</exceptionname> when the
+ <simpara>
+ This function throws <exceptionname>ValueError</exceptionname> when the
<parameter>datetime</parameter> contains NULL-bytes.
- </para>
+ </simpara>
</refsect1>
<refsect1 role="changelog">
diff --git a/reference/mysqlnd/stats.xml b/reference/mysqlnd/stats.xml
index ff4d303973de..ed51c63441de 100644
--- a/reference/mysqlnd/stats.xml
+++ b/reference/mysqlnd/stats.xml
@@ -1545,18 +1545,18 @@ $link->real_connect(/* ... */);
<varlistentry xml:id="mysqlnd.stats.statistics.memory-management">
<term><literal>mem_emalloc_count</literal></term>
- <term><literal>mem_emalloc_ammount</literal></term>
+ <term><literal>mem_emalloc_amount</literal></term>
<term><literal>mem_ecalloc_count</literal></term>
- <term><literal>mem_ecalloc_ammount</literal></term>
+ <term><literal>mem_ecalloc_amount</literal></term>
<term><literal>mem_realloc_count</literal></term>
- <term><literal>mem_realloc_ammount</literal></term>
+ <term><literal>mem_realloc_amount</literal></term>
<term><literal>mem_efree_count</literal></term>
<term><literal>mem_malloc_count</literal></term>
- <term><literal>mem_malloc_ammount</literal></term>
+ <term><literal>mem_malloc_amount</literal></term>
<term><literal>mem_calloc_count</literal></term>
- <term><literal>mem_calloc_ammount</literal></term>
- <term><literal>mem_ealloc_count</literal></term>
- <term><literal>mem_ealloc_ammount</literal></term>
+ <term><literal>mem_calloc_amount</literal></term>
+ <term><literal>mem_erealloc_count</literal></term>
+ <term><literal>mem_erealloc_amount</literal></term>
<term><literal>mem_free_count</literal></term>
<listitem>
<simpara>
diff --git a/reference/random/random/randomizer/getfloat.xml
b/reference/random/random/randomizer/getfloat.xml
index 95acb21326ba..6fa7967d596c 100644
--- a/reference/random/random/randomizer/getfloat.xml
+++ b/reference/random/random/randomizer/getfloat.xml
@@ -196,7 +196,7 @@
</para>
<para>
This random float could be scaled to right-open interval from
<literal>1.625</literal>
- until, but not including, <literal>2.75</literal> by multiplying it with the size
+ until, but not including, <literal>2.5</literal> by multiplying it with the size
of the interval (<literal>0.875</literal>) and adding the minimum
<literal>1.625</literal>.
This so-called affine transformation would result in the values:
diff --git a/reference/snmp/functions/snmp-get-valueretrieval.xml
b/reference/snmp/functions/snmp-get-valueretrieval.xml
index 914e65f40d06..463a7a4a148c 100644
--- a/reference/snmp/functions/snmp-get-valueretrieval.xml
+++ b/reference/snmp/functions/snmp-get-valueretrieval.xml
@@ -25,7 +25,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
- OR-ed combitantion of constants ( <constant>SNMP_VALUE_LIBRARY</constant> or
+ OR-ed combination of constants ( <constant>SNMP_VALUE_LIBRARY</constant> or
<constant>SNMP_VALUE_PLAIN</constant> ) with
possible SNMP_VALUE_OBJECT set.
</simpara>
diff --git a/reference/zip/constants.xml b/reference/zip/constants.xml
index c38a60b9fdae..3adfe6a532f3 100644
--- a/reference/zip/constants.xml
+++ b/reference/zip/constants.xml
@@ -1239,7 +1239,7 @@
<simpara/>
</listitem>
</varlistentry>
- <varlistentry xml:id="ziparchive.constants.opsys-os-4000">
+ <varlistentry xml:id="ziparchive.constants.opsys-os-400">
<term>
<constant>ZipArchive::OPSYS_OS_400</constant>
(<type>int</type>)