[DOC-CVS] [doc-en] master: [skip-revcheck] Correct indentation (#4454)
[email protected] (Marcos Porto Mariño via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Marcos Porto Mariño (Marqitos)
Committer: GitHub (web-flow)
Pusher: vrana
Date: 2025-04-24T16:27:51+02:00
Commit: https://github.com/php/doc-en/commit/c9490d424ec11a4fe92f07f08cff95c85c7d22df
Raw diff: https://github.com/php/doc-en/commit/c9490d424ec11a4fe92f07f08cff95c85c7d22df.diff
[skip-revcheck] Correct indentation (#4454)
Changed paths:
M reference/bc/functions/bcpow.xml
M reference/datetime/datetime.xml
M reference/datetime/datetimeinterface.xml
M reference/datetime/functions/strptime.xml
M reference/sync/book.xml
M reference/sync/configure.xml
M reference/sync/setup.xml
M reference/sync/syncevent.xml
M reference/sync/syncmutex.xml
M reference/sync/syncreaderwriter.xml
M reference/sync/syncsemaphore.xml
M reference/sync/syncsharedmemory.xml
M reference/sync/syncsharedmemory/read.xml
M reference/uopz/book.xml
M reference/uopz/constants.xml
M reference/uopz/functions/uopz-backup.xml
M reference/uopz/functions/uopz-compose.xml
M reference/uopz/functions/uopz-copy.xml
M reference/uopz/functions/uopz-delete.xml
M reference/uopz/functions/uopz-extend.xml
M reference/uopz/functions/uopz-flags.xml
M reference/uopz/functions/uopz-function.xml
M reference/uopz/functions/uopz-get-mock.xml
M reference/uopz/functions/uopz-get-return.xml
M reference/uopz/functions/uopz-implement.xml
M reference/uopz/functions/uopz-overload.xml
M reference/uopz/functions/uopz-redefine.xml
M reference/uopz/functions/uopz-rename.xml
M reference/uopz/functions/uopz-restore.xml
M reference/uopz/functions/uopz-set-return.xml
M reference/uopz/functions/uopz-undefine.xml
M reference/uopz/functions/uopz-unset-mock.xml
M reference/uopz/functions/uopz-unset-return.xml
M reference/uopz/setup.xml
Diff:
diff --git a/reference/bc/functions/bcpow.xml b/reference/bc/functions/bcpow.xml
index b24818290bc0..7903a1919cf6 100644
--- a/reference/bc/functions/bcpow.xml
+++ b/reference/bc/functions/bcpow.xml
@@ -151,7 +151,7 @@ echo bcpow('5', '2', 2); // prints "25", not "25.00"
<simplelist>
<member><function>bcpowmod</function></member>
<member><function>bcsqrt</function></member>
- <member><methodname>BcMath\Number::pow</methodname></member>
+ <member><methodname>BcMath\Number::pow</methodname></member>
</simplelist>
</para>
</refsect1>
diff --git a/reference/datetime/datetime.xml b/reference/datetime/datetime.xml
index 04227c08a472..dd915ac57f17 100644
--- a/reference/datetime/datetime.xml
+++ b/reference/datetime/datetime.xml
@@ -64,45 +64,45 @@
<!-- }}} -->
</section>
-
- <section role="changelog" xml:id="datetime.changelog"><!-- {{{ -->
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>8.4.0</entry>
- <entry>
- The class constants are now typed.
- </entry>
- </row>
- <row>
- <entry>7.2.0</entry>
- <entry>
- The class constants of <classname>DateTime</classname> are now defined
- on <classname>DateTimeInterface</classname>.
- </entry>
- </row>
- <row>
- <entry>7.1.0</entry>
- <entry>
- The <classname>DateTime</classname> constructor now includes the
- current microseconds in the constructed value. Before this, it would
- always initialise the microseconds to <literal>0</literal>.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </section><!-- }}} -->
+
+ <section role="changelog" xml:id="datetime.changelog"><!-- {{{ -->
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.4.0</entry>
+ <entry>
+ The class constants are now typed.
+ </entry>
+ </row>
+ <row>
+ <entry>7.2.0</entry>
+ <entry>
+ The class constants of <classname>DateTime</classname> are now defined
+ on <classname>DateTimeInterface</classname>.
+ </entry>
+ </row>
+ <row>
+ <entry>7.1.0</entry>
+ <entry>
+ The <classname>DateTime</classname> constructor now includes the
+ current microseconds in the constructed value. Before this, it would
+ always initialise the microseconds to <literal>0</literal>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </section><!-- }}} -->
</partintro>
diff --git a/reference/datetime/datetimeinterface.xml b/reference/datetime/datetimeinterface.xml
index 9c6529292fa5..54347e497552 100644
--- a/reference/datetime/datetimeinterface.xml
+++ b/reference/datetime/datetimeinterface.xml
@@ -353,41 +353,41 @@
</section>
<!-- }}} -->
- <section role="changelog" xml:id="datetimeinterface.changelog"><!-- {{{ -->
- &reftitle.changelog;
- <para>
- <informaltable>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>&Version;</entry>
- <entry>&Description;</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>8.4.0</entry>
- <entry>The class constants are now typed.</entry>
- </row>
- <row>
- <entry>8.2.0</entry>
- <entry>
- The constant <constant linkend="datetimeinterface.constants.iso8601-expanded">DateTimeInterface::ISO8601_EXPANDED</constant>
- was added.
- </entry>
- </row>
- <row>
- <entry>7.2.0</entry>
- <entry>
- The class constants of <classname>DateTime</classname> are now defined
- on <interfacename>DateTimeInterface</interfacename>.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </para>
- </section><!-- }}} -->
+ <section role="changelog" xml:id="datetimeinterface.changelog"><!-- {{{ -->
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.4.0</entry>
+ <entry>The class constants are now typed.</entry>
+ </row>
+ <row>
+ <entry>8.2.0</entry>
+ <entry>
+ The constant <constant linkend="datetimeinterface.constants.iso8601-expanded">DateTimeInterface::ISO8601_EXPANDED</constant>
+ was added.
+ </entry>
+ </row>
+ <row>
+ <entry>7.2.0</entry>
+ <entry>
+ The class constants of <classname>DateTime</classname> are now defined
+ on <interfacename>DateTimeInterface</interfacename>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </section><!-- }}} -->
</partintro>
diff --git a/reference/datetime/functions/strptime.xml b/reference/datetime/functions/strptime.xml
index 9adb25de600d..b4e3de531548 100644
--- a/reference/datetime/functions/strptime.xml
+++ b/reference/datetime/functions/strptime.xml
@@ -150,9 +150,9 @@
</para>
</refsect1>
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
<example>
<title><function>strptime</function> example</title>
<programlisting role="php">
@@ -166,9 +166,9 @@ echo "$strf\n";
print_r(strptime($strf, $format));
?>
]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
<![CDATA[
03/10/2004 15:54:19
@@ -185,46 +185,46 @@ Array
[unparsed] =>
)
]]>
- </screen>
- </example>
- </para>
- </refsect1>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
- <refsect1 role="notes">
- &reftitle.notes;
- ¬e.no-windows;
- <note>
- <para>
- Internally, this function calls the <literal>strptime()</literal>
- function provided by the system's C library. This function can exhibit
- noticeably different behaviour across different operating systems. The
- use of <function>date_parse_from_format</function>, which does not
- suffer from these issues, is recommended.
- </para>
- </note>
- <note>
- <para>
- <literal>"tm_sec"</literal> includes any leap seconds (currently upto 2
- a year). For more information on leap seconds, see the <link
- xlink:href="&url.wiki.leap-seconds;">Wikipedia article
- on leap seconds</link>.
- </para>
- </note>
- </refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ ¬e.no-windows;
+ <note>
+ <para>
+ Internally, this function calls the <literal>strptime()</literal>
+ function provided by the system's C library. This function can exhibit
+ noticeably different behaviour across different operating systems. The
+ use of <function>date_parse_from_format</function>, which does not
+ suffer from these issues, is recommended.
+ </para>
+ </note>
+ <note>
+ <para>
+ <literal>"tm_sec"</literal> includes any leap seconds (currently upto 2
+ a year). For more information on leap seconds, see the <link
+ xlink:href="&url.wiki.leap-seconds;">Wikipedia article
+ on leap seconds</link>.
+ </para>
+ </note>
+ </refsect1>
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><methodname>IntlDateFormatter::parse</methodname></member>
- <member><methodname>DateTime::createFromFormat</methodname></member>
- <member><function>checkdate</function></member>
- <member><function>strftime</function></member>
- <member><function>date_parse_from_format</function></member>
- </simplelist>
- </para>
- </refsect1>
- </refentry>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>IntlDateFormatter::parse</methodname></member>
+ <member><methodname>DateTime::createFromFormat</methodname></member>
+ <member><function>checkdate</function></member>
+ <member><function>strftime</function></member>
+ <member><function>date_parse_from_format</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/sync/book.xml b/reference/sync/book.xml
index 58eafe74d4bd..6e8779bb5be6 100644
--- a/reference/sync/book.xml
+++ b/reference/sync/book.xml
@@ -9,29 +9,29 @@
<preface xml:id="intro.sync">
&reftitle.intro;
<para>
- The <literal>sync</literal> extension introduces cross-platform synchonization objects into PHP.
- Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory
- objects provide OS-level synchronization on both POSIX (e.g. Linux) and Windows
- platforms.
+ The <literal>sync</literal> extension introduces cross-platform synchonization objects into PHP.
+ Named and unnamed Mutex, Semaphore, Event, Reader-Writer, and named Shared Memory
+ objects provide OS-level synchronization on both POSIX (e.g. Linux) and Windows
+ platforms.
</para>
<para>
- Automatic cleanup of acquired synchronization objects takes place during extension
- teardown. This means that if PHP prematurely terminates a script (e.g. script
- execution time is exceeded), objects will not be left in an unknown state. The
- only exception to this is if PHP itself crashes (e.g. an internal buffer overflow).
+ Automatic cleanup of acquired synchronization objects takes place during extension
+ teardown. This means that if PHP prematurely terminates a script (e.g. script
+ execution time is exceeded), objects will not be left in an unknown state. The
+ only exception to this is if PHP itself crashes (e.g. an internal buffer overflow).
</para>
<para>
- Unnamed synchronization objects don't have a lot of use outside of a multithreaded
- scenario. Unnamed objects are more useful in conjunction with the pthreads PECL
- extension.
+ Unnamed synchronization objects don't have a lot of use outside of a multithreaded
+ scenario. Unnamed objects are more useful in conjunction with the pthreads PECL
+ extension.
</para>
<note>
<para>
- Named objects require additional care to be used on all systems.
- If an object is instantiated with a specific set of parameters, it must always
- be instantiated with those parameters or the object will probably end up in an
- inconsistent state until the next reboot or a system administrator cleans up
- the mess.
+ Named objects require additional care to be used on all systems.
+ If an object is instantiated with a specific set of parameters, it must always
+ be instantiated with those parameters or the object will probably end up in an
+ inconsistent state until the next reboot or a system administrator cleans up
+ the mess.
</para>
</note>
</preface>
diff --git a/reference/sync/configure.xml b/reference/sync/configure.xml
index 3525f7bd094f..59d5153d5e5e 100644
--- a/reference/sync/configure.xml
+++ b/reference/sync/configure.xml
@@ -9,10 +9,8 @@
<link xlink:href="&url.pecl.package;sync">&url.pecl.package;sync</link>
</para>
-
</section>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/sync/setup.xml b/reference/sync/setup.xml
index 511b140d187d..1f2bfabe22e2 100644
--- a/reference/sync/setup.xml
+++ b/reference/sync/setup.xml
@@ -7,7 +7,7 @@
<section xml:id="sync.requirements">
&reftitle.required;
<para>
- A system with support for POSIX shared memory (shm_open()) or running Windows.
+ A system with support for POSIX shared memory (shm_open()) or running Windows.
</para>
</section>
diff --git a/reference/sync/syncevent.xml b/reference/sync/syncevent.xml
index 9b9ad6f5a960..56f214e04b79 100644
--- a/reference/sync/syncevent.xml
+++ b/reference/sync/syncevent.xml
@@ -12,14 +12,15 @@
<section xml:id="syncevent.intro">
&reftitle.intro;
<para>
- A cross-platform, native implementation of named and unnamed event objects. Both automatic and manual event objects are supported.
+ A cross-platform, native implementation of named and unnamed event objects.
+ Both automatic and manual event objects are supported.
</para>
<para>
- An event object waits, without polling, for the object to be fired/set.
- One instance waits on the event object while another instance fires/sets
- the event. Event objects are useful wherever a long-running process would
- otherwise poll a resource (e.g. checking to see if uploaded data needs to
- be processed).
+ An event object waits, without polling, for the object to be fired/set.
+ One instance waits on the event object while another instance fires/sets
+ the event. Event objects are useful wherever a long-running process would
+ otherwise poll a resource (e.g. checking to see if uploaded data needs to
+ be processed).
</para>
</section>
<!-- }}} -->
diff --git a/reference/sync/syncmutex.xml b/reference/sync/syncmutex.xml
index 4de277019adb..2d8987642405 100644
--- a/reference/sync/syncmutex.xml
+++ b/reference/sync/syncmutex.xml
@@ -12,12 +12,12 @@
<section xml:id="syncmutex.intro">
&reftitle.intro;
<para>
- A cross-platform, native implementation of named and unnamed countable mutex objects.
+ A cross-platform, native implementation of named and unnamed countable mutex objects.
</para>
<para>
- A mutex is a mutual exclusion object that restricts access to a shared resource (e.g. a file) to a single instance.
- Countable mutexes acquire the mutex a single time and internally track the number of times the mutex is locked.
- The mutex is unlocked as soon as it goes out of scope or is unlocked the same number of times that it was locked.
+ A mutex is a mutual exclusion object that restricts access to a shared resource (e.g. a file) to a single instance.
+ Countable mutexes acquire the mutex a single time and internally track the number of times the mutex is locked.
+ The mutex is unlocked as soon as it goes out of scope or is unlocked the same number of times that it was locked.
</para>
</section>
<!-- }}} -->
diff --git a/reference/sync/syncreaderwriter.xml b/reference/sync/syncreaderwriter.xml
index f6f815fd60dc..e8f7cde824b8 100644
--- a/reference/sync/syncreaderwriter.xml
+++ b/reference/sync/syncreaderwriter.xml
@@ -12,12 +12,12 @@
<section xml:id="syncreaderwriter.intro">
&reftitle.intro;
<para>
- A cross-platform, native implementation of named and unnamed reader-writer objects.
+ A cross-platform, native implementation of named and unnamed reader-writer objects.
</para>
<para>
- A reader-writer object allows many readers or one writer to access a resource.
- This is an efficient solution for managing resources where access will primarily be
- read-only but exclusive write access is occasionally necessary.
+ A reader-writer object allows many readers or one writer to access a resource.
+ This is an efficient solution for managing resources where access will primarily be
+ read-only but exclusive write access is occasionally necessary.
</para>
</section>
<!-- }}} -->
diff --git a/reference/sync/syncsemaphore.xml b/reference/sync/syncsemaphore.xml
index 92c0af8cc721..0e349353f651 100644
--- a/reference/sync/syncsemaphore.xml
+++ b/reference/sync/syncsemaphore.xml
@@ -12,12 +12,12 @@
<section xml:id="syncsemaphore.intro">
&reftitle.intro;
<para>
- A cross-platform, native implementation of named and unnamed semaphore objects.
+ A cross-platform, native implementation of named and unnamed semaphore objects.
</para>
<para>
- A semaphore restricts access to a limited resource to a limited number of instances.
- Semaphores differ from mutexes in that they can allow more than one instance to
- access a resource at one time while a mutex only allows one instance at a time.
+ A semaphore restricts access to a limited resource to a limited number of instances.
+ Semaphores differ from mutexes in that they can allow more than one instance to
+ access a resource at one time while a mutex only allows one instance at a time.
</para>
</section>
<!-- }}} -->
diff --git a/reference/sync/syncsharedmemory.xml b/reference/sync/syncsharedmemory.xml
index 3824c315c18d..2fc0cfaa1abc 100644
--- a/reference/sync/syncsharedmemory.xml
+++ b/reference/sync/syncsharedmemory.xml
@@ -12,17 +12,17 @@
<section xml:id="syncsharedmemory.intro">
&reftitle.intro;
<para>
- A cross-platform, native, consistent implementation of named shared memory
- objects.
+ A cross-platform, native, consistent implementation of named shared memory
+ objects.
</para>
<para>
- Shared memory lets two separate processes communicate without the need for
- complex pipes or sockets. There are several integer-based shared memory
- implementations for PHP. Named shared memory is an alternative.
+ Shared memory lets two separate processes communicate without the need for
+ complex pipes or sockets. There are several integer-based shared memory
+ implementations for PHP. Named shared memory is an alternative.
</para>
<para>
- Synchronization objects (e.g. SyncMutex) are still required to protect most
- uses of shared memory.
+ Synchronization objects (e.g. SyncMutex) are still required to protect most
+ uses of shared memory.
</para>
</section>
<!-- }}} -->
diff --git a/reference/sync/syncsharedmemory/read.xml b/reference/sync/syncsharedmemory/read.xml
index d8ca332b5b76..10b354b02694 100644
--- a/reference/sync/syncsharedmemory/read.xml
+++ b/reference/sync/syncsharedmemory/read.xml
@@ -15,7 +15,7 @@
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
</methodsynopsis>
<para>
- Copies data from named shared memory.
+ Copies data from named shared memory.
</para>
</refsect1>
@@ -26,12 +26,12 @@
<term><parameter>start</parameter></term>
<listitem>
<para>
- The start/offset, in bytes, to begin reading.
+ The start/offset, in bytes, to begin reading.
</para>
<note>
<para>
- If the value is negative, the starting position will begin at the specified
- number of bytes from the end of the shared memory segment.
+ If the value is negative, the starting position will begin at the specified
+ number of bytes from the end of the shared memory segment.
</para>
</note>
</listitem>
@@ -40,15 +40,15 @@
<term><parameter>length</parameter></term>
<listitem>
<para>
- The number of bytes to read.
+ The number of bytes to read.
</para>
<note>
<para>
- If unspecified, reading will stop at the end of the shared memory segment.
+ If unspecified, reading will stop at the end of the shared memory segment.
</para>
<para>
- If the value is negative, reading will stop the specified number of bytes
- from the end of the shared memory segment.
+ If the value is negative, reading will stop the specified number of bytes
+ from the end of the shared memory segment.
</para>
</note>
</listitem>
@@ -59,7 +59,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- A string containing the data read from shared memory.
+ A string containing the data read from shared memory.
</para>
</refsect1>
diff --git a/reference/uopz/book.xml b/reference/uopz/book.xml
index c69a2ce9d6bf..f36619cea571 100644
--- a/reference/uopz/book.xml
+++ b/reference/uopz/book.xml
@@ -9,11 +9,14 @@
<preface xml:id="intro.uopz">
&reftitle.intro;
<para>
- The uopz - User Operations for Zend - extension exposes Zend Engine functionality normally used at compilation and execution time in order to
- allow modification of the internal structures that represent PHP code, and for user code to interact with the VM.
+ The uopz - User Operations for Zend -
+ extension exposes Zend Engine functionality normally
+ used at compilation and execution time in order to
+ allow modification of the internal structures that represent PHP code,
+ and for user code to interact with the VM.
</para>
<para>
- uopz supports the following activities:
+ uopz supports the following activities:
</para>
<simplelist>
<member>Overloading some opcodes including ZEND_EXIT and ZEND_NEW</member>
@@ -27,7 +30,7 @@
</simplelist>
<note>
<para>
- All of the activities supported are compatible with opcache
+ All of the activities supported are compatible with opcache
</para>
</note>
<caution>
diff --git a/reference/uopz/constants.xml b/reference/uopz/constants.xml
index 6f12ac15adca..7ff31d9daed8 100644
--- a/reference/uopz/constants.xml
+++ b/reference/uopz/constants.xml
@@ -16,7 +16,8 @@
</term>
<listitem>
<simpara>
- Invoked by exit() and die(), receives no arguments. Return boolean &true; to exit, &false; to continue
+ Invoked by exit() and die(), receives no arguments.
+ Return boolean &true; to exit, &false; to continue
</simpara>
</listitem>
</varlistentry>
@@ -27,7 +28,8 @@
</term>
<listitem>
<simpara>
- Invoked by object construction, receives the class of object being created as the only argument
+ Invoked by object construction,
+ receives the class of object being created as the only argument
</simpara>
</listitem>
</varlistentry>
@@ -38,7 +40,8 @@
</term>
<listitem>
<simpara>
- Invoked by the throw construct, receives the class of exception being thrown as the only argument
+ Invoked by the throw construct,
+ receives the class of exception being thrown as the only argument
</simpara>
</listitem>
</varlistentry>
@@ -49,7 +52,8 @@
</term>
<listitem>
<simpara>
- Invoked upon composure, receives the class the name of the class being fetched as the only argument
+ Invoked upon composure,
+ receives the class the name of the class being fetched as the only argument
</simpara>
</listitem>
</varlistentry>
@@ -60,7 +64,9 @@
</term>
<listitem>
<simpara>
- Invoked upon composure, receives the class the trait is being added to as the first argument, and the name of the trait as the second argument
+ Invoked upon composure,
+ receives the class the trait is being added to as the first argument,
+ and the name of the trait as the second argument
</simpara>
</listitem>
</varlistentry>
@@ -71,7 +77,9 @@
</term>
<listitem>
<simpara>
- Invoked upon composure, receives the class the interface is being added to as the first argument, and the name of the interface as the second argument
+ Invoked upon composure,
+ receives the class the interface is being added to as the first argument,
+ and the name of the interface as the second argument
</simpara>
</listitem>
</varlistentry>
@@ -82,15 +90,18 @@
</term>
<listitem>
<simpara>
- Invoked by instanceof operator, receives the object being verified as the first argument, and the name of the class which that object should be as the second argument
+ Invoked by instanceof operator,
+ receives the object being verified as the first argument,
+ and the name of the class which that object should be as the second argument
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
<para>
- The following constants control the VM's behaviour after a user handler is invoked, be extremely careful!
- These constants are removed as of uopz 5.0.0.
+ The following constants control the VM's behaviour after a user handler is invoked,
+ be extremely careful!
+ These constants are removed as of uopz 5.0.0.
</para>
<para>
<variablelist>
@@ -101,7 +112,7 @@
</term>
<listitem>
<simpara>
- Advance 1 opcode and continuue
+ Advance 1 opcode and continuue
</simpara>
</listitem>
</varlistentry>
@@ -112,7 +123,7 @@
</term>
<listitem>
<simpara>
- Enter into new op_array without recursion
+ Enter into new op_array without recursion
</simpara>
</listitem>
</varlistentry>
@@ -123,7 +134,7 @@
</term>
<listitem>
<simpara>
- Return to calling op_array within the same executor
+ Return to calling op_array within the same executor
</simpara>
</listitem>
</varlistentry>
@@ -134,7 +145,7 @@
</term>
<listitem>
<simpara>
- Dispatch to original opcode handler
+ Dispatch to original opcode handler
</simpara>
</listitem>
</varlistentry>
@@ -145,7 +156,7 @@
</term>
<listitem>
<simpara>
- Dispatch to a specific handler (OR'd with ZEND opcode constant)
+ Dispatch to a specific handler (OR'd with ZEND opcode constant)
</simpara>
</listitem>
</varlistentry>
@@ -156,14 +167,14 @@
</term>
<listitem>
<simpara>
- Exit from executor (return from function)
+ Exit from executor (return from function)
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
<para>
- The following modifiers are registered as constants by uopz
+ The following modifiers are registered as constants by uopz
</para>
<para>
<variablelist>
@@ -174,7 +185,7 @@
</term>
<listitem>
<simpara>
- Mark function as public, the default
+ Mark function as public, the default
</simpara>
</listitem>
</varlistentry>
@@ -185,7 +196,7 @@
</term>
<listitem>
<simpara>
- Mark function as protected
+ Mark function as protected
</simpara>
</listitem>
</varlistentry>
@@ -193,10 +204,10 @@
<term>
<constant>ZEND_ACC_PRIVATE</constant>
(<type>int</type>)
- </term>
+ </term>
<listitem>
- <simpara>
- Mark function as private
+ <simpara>
+ Mark function as private
</simpara>
</listitem>
</varlistentry>
@@ -204,10 +215,10 @@
<term>
<constant>ZEND_ACC_STATIC</constant>
(<type>int</type>)
- </term>
+ </term>
<listitem>
- <simpara>
- Mark function as static
+ <simpara>
+ Mark function as static
</simpara>
</listitem>
</varlistentry>
@@ -217,20 +228,20 @@
(<type>int</type>)
</term>
<listitem>
- <simpara>
- Mark function as final
+ <simpara>
+ Mark function as final
</simpara>
- </listitem>
+ </listitem>
</varlistentry>
<varlistentry xml:id="constant.zend-acc-abstract">
<term>
<constant>ZEND_ACC_ABSTRACT</constant>
(<type>int</type>)
- </term>
- <listitem>
+ </term>
+ <listitem>
<simpara>
- Mark function as abstract
- </simpara>
+ Mark function as abstract
+ </simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.zend-acc-class">
@@ -240,7 +251,7 @@
</term>
<listitem>
<simpara>
- Dummy registered for consistency, the default kind of class entry.
+ Dummy registered for consistency, the default kind of class entry.
Removed as of uopz 5.0.0.
</simpara>
</listitem>
@@ -251,11 +262,11 @@
(<type>int</type>)
</term>
<listitem>
- <simpara>
- Mark class as interface.
+ <simpara>
+ Mark class as interface.
Removed as of uopz 5.0.0.
</simpara>
- </listitem>
+ </listitem>
</varlistentry>
<varlistentry xml:id="constant.zend-acc-trait">
<term>
@@ -263,11 +274,11 @@
(<type>int</type>)
</term>
<listitem>
- <simpara>
- Mark class as trait.
+ <simpara>
+ Mark class as trait.
Removed as of uopz 5.0.0.
</simpara>
- </listitem>
+ </listitem>
</varlistentry>
<varlistentry xml:id="constant.zend-acc-fetch">
<term>
@@ -276,7 +287,7 @@
</term>
<listitem>
<simpara>
- Used for getting flags only.
+ Used for getting flags only.
Removed as of uopz 5.0.0.
</simpara>
</listitem>
diff --git a/reference/uopz/functions/uopz-backup.xml b/reference/uopz/functions/uopz-backup.xml
index 66c5ffa1ee34..49b4dbd7432a 100644
--- a/reference/uopz/functions/uopz-backup.xml
+++ b/reference/uopz/functions/uopz-backup.xml
@@ -23,7 +23,7 @@
<methodparam><type>string</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<para>
- Backup a function at runtime, to be restored on shutdown
+ Backup a function at runtime, to be restored on shutdown
</para>
</refsect1>
@@ -35,7 +35,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function to backup
+ The name of the class containing the function to backup
</para>
</listitem>
</varlistentry>
@@ -43,7 +43,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-compose.xml b/reference/uopz/functions/uopz-compose.xml
index f21ae045b491..88b5a65a1b4f 100644
--- a/reference/uopz/functions/uopz-compose.xml
+++ b/reference/uopz/functions/uopz-compose.xml
@@ -22,7 +22,7 @@
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
- Creates a new class of the given name that implements, extends, or uses all of the provided classes
+ Creates a new class of the given name that implements, extends, or uses all of the provided classes
</para>
</refsect1>
@@ -33,7 +33,7 @@
<term><parameter>name</parameter></term>
<listitem>
<para>
- A legal class name
+ A legal class name
</para>
</listitem>
</varlistentry>
@@ -41,7 +41,7 @@
<term><parameter>classes</parameter></term>
<listitem>
<para>
- An array of class, interface and trait names
+ An array of class, interface and trait names
</para>
</listitem>
</varlistentry>
@@ -49,23 +49,23 @@
<term><parameter>methods</parameter></term>
<listitem>
<para>
- An associative array of methods, values are either closures or [modifiers => closure]
- </para>
- </listitem>
+ An associative array of methods, values are either closures or [modifiers => closure]
+ </para>
+ </listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>properties</parameter></term>
<listitem>
<para>
- An associative array of properties, keys are names, values are modifiers
- </para>
+ An associative array of properties, keys are names, values are modifiers
+ </para>
</listitem>
</varlistentry>
- <varlistentry>
+ <varlistentry>
<term><parameter>flags</parameter></term>
<listitem>
<para>
- Entry type, by default ZEND_ACC_CLASS
+ Entry type, by default ZEND_ACC_CLASS
</para>
</listitem>
</varlistentry>
@@ -75,7 +75,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
-
+
</para>
</refsect1>
@@ -92,8 +92,8 @@ interface myInterface {}
uopz_compose(
Composed::class, [
- myClass::class,
- myTrait::class,
+ myClass::class,
+ myTrait::class,
myInterface::class
], [
"__construct" => function() {
diff --git a/reference/uopz/functions/uopz-copy.xml b/reference/uopz/functions/uopz-copy.xml
index f83cc4aed810..ea9e85a69260 100644
--- a/reference/uopz/functions/uopz-copy.xml
+++ b/reference/uopz/functions/uopz-copy.xml
@@ -23,7 +23,7 @@
<methodparam><type>string</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<para>
- Copy a function by name
+ Copy a function by name
</para>
</refsect1>
@@ -35,7 +35,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function to copy
+ The name of the class containing the function to copy
</para>
</listitem>
</varlistentry>
@@ -43,7 +43,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-delete.xml b/reference/uopz/functions/uopz-delete.xml
index c5b6bcb81575..fab090309282 100644
--- a/reference/uopz/functions/uopz-delete.xml
+++ b/reference/uopz/functions/uopz-delete.xml
@@ -23,7 +23,7 @@
<methodparam><type>string</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<para>
- Deletes a function or method
+ Deletes a function or method
</para>
</refsect1>
diff --git a/reference/uopz/functions/uopz-extend.xml b/reference/uopz/functions/uopz-extend.xml
index 2c949b1078f4..465f63b1b900 100644
--- a/reference/uopz/functions/uopz-extend.xml
+++ b/reference/uopz/functions/uopz-extend.xml
@@ -15,7 +15,7 @@
<methodparam><type>string</type><parameter>parent</parameter></methodparam>
</methodsynopsis>
<para>
- Makes <parameter>class</parameter> extend <parameter>parent</parameter>
+ Makes <parameter>class</parameter> extend <parameter>parent</parameter>
</para>
</refsect1>
@@ -26,7 +26,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class to extend
+ The name of the class to extend
</para>
</listitem>
</varlistentry>
@@ -34,7 +34,7 @@
<term><parameter>parent</parameter></term>
<listitem>
<para>
- The name of the class to inherit
+ The name of the class to inherit
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-flags.xml b/reference/uopz/functions/uopz-flags.xml
index bec36c318977..e92880c7bc0f 100644
--- a/reference/uopz/functions/uopz-flags.xml
+++ b/reference/uopz/functions/uopz-flags.xml
@@ -21,7 +21,7 @@
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>PHP_INT_MAX</initializer></methodparam>
</methodsynopsis>
<para>
- Get or set the flags on a class or function entry at runtime
+ Get or set the flags on a class or function entry at runtime
</para>
</refsect1>
@@ -33,7 +33,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of a class
+ The name of a class
</para>
</listitem>
</varlistentry>
@@ -51,7 +51,7 @@
<term><parameter>flags</parameter></term>
<listitem>
<para>
- A valid set of ZEND_ACC_ flags.
+ A valid set of ZEND_ACC_ flags.
If omitted, <function>uopz_flags</function> acts as getter.
</para>
</listitem>
@@ -62,7 +62,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- If setting, returns old flags, else returns flags
+ If setting, returns old flags, else returns flags
</para>
</refsect1>
diff --git a/reference/uopz/functions/uopz-function.xml b/reference/uopz/functions/uopz-function.xml
index a2c9bc4aa014..79b208885769 100644
--- a/reference/uopz/functions/uopz-function.xml
+++ b/reference/uopz/functions/uopz-function.xml
@@ -27,7 +27,7 @@
<methodparam choice="opt"><type>int</type><parameter>modifiers</parameter></methodparam>
</methodsynopsis>
<para>
- Creates a function at runtime
+ Creates a function at runtime
</para>
</refsect1>
@@ -39,7 +39,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class to receive the new function
+ The name of the class to receive the new function
</para>
</listitem>
</varlistentry>
@@ -47,7 +47,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
@@ -55,7 +55,7 @@
<term><parameter>handler</parameter></term>
<listitem>
<para>
- The Closure for the function
+ The Closure for the function
</para>
</listitem>
</varlistentry>
@@ -63,7 +63,7 @@
<term><parameter>modifiers</parameter></term>
<listitem>
<para>
- The modifiers for the function, by default copied or ZEND_ACC_PUBLIC
+ The modifiers for the function, by default copied or ZEND_ACC_PUBLIC
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-get-mock.xml b/reference/uopz/functions/uopz-get-mock.xml
index 13f532d489a0..d881dd1e517c 100644
--- a/reference/uopz/functions/uopz-get-mock.xml
+++ b/reference/uopz/functions/uopz-get-mock.xml
@@ -25,18 +25,18 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the mocked class.
+ The name of the mocked class.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- Either a string containing the name of the mock, or an object,
- or &null; if no mock has been set.
- </para>
+ &reftitle.returnvalues;
+ <para>
+ Either a string containing the name of the mock, or an object,
+ or &null; if no mock has been set.
+ </para>
</refsect1>
<refsect1 role="examples">
diff --git a/reference/uopz/functions/uopz-get-return.xml b/reference/uopz/functions/uopz-get-return.xml
index e051e68130b7..41fed270e6b8 100644
--- a/reference/uopz/functions/uopz-get-return.xml
+++ b/reference/uopz/functions/uopz-get-return.xml
@@ -30,7 +30,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function
+ The name of the class containing the function
</para>
</listitem>
</varlistentry>
@@ -38,7 +38,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
@@ -48,7 +48,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The return value or Closure previously set.
+ The return value or Closure previously set.
</para>
</refsect1>
diff --git a/reference/uopz/functions/uopz-implement.xml b/reference/uopz/functions/uopz-implement.xml
index 13016febf00c..5fd668acf80c 100644
--- a/reference/uopz/functions/uopz-implement.xml
+++ b/reference/uopz/functions/uopz-implement.xml
@@ -15,7 +15,7 @@
<methodparam><type>string</type><parameter>interface</parameter></methodparam>
</methodsynopsis>
<para>
- Makes <parameter>class</parameter> implement <parameter>interface</parameter>
+ Makes <parameter>class</parameter> implement <parameter>interface</parameter>
</para>
</refsect1>
diff --git a/reference/uopz/functions/uopz-overload.xml b/reference/uopz/functions/uopz-overload.xml
index 8d9f31784e81..0539df8f3380 100644
--- a/reference/uopz/functions/uopz-overload.xml
+++ b/reference/uopz/functions/uopz-overload.xml
@@ -19,7 +19,7 @@
<methodparam><type>Callable</type><parameter>callable</parameter></methodparam>
</methodsynopsis>
<para>
- Overloads the specified <parameter>opcode</parameter> with the user defined function
+ Overloads the specified <parameter>opcode</parameter> with the user defined function
</para>
</refsect1>
@@ -31,7 +31,7 @@
<term><parameter>opcode</parameter></term>
<listitem>
<para>
- A valid opcode, see constants for details of supported codes
+ A valid opcode, see constants for details of supported codes
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-redefine.xml b/reference/uopz/functions/uopz-redefine.xml
index e0a6f8dda2a0..6bece72b59b6 100644
--- a/reference/uopz/functions/uopz-redefine.xml
+++ b/reference/uopz/functions/uopz-redefine.xml
@@ -21,7 +21,7 @@
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
- Redefines the given <parameter>constant</parameter> as <parameter>value</parameter>
+ Redefines the given <parameter>constant</parameter> as <parameter>value</parameter>
</para>
</refsect1>
@@ -32,7 +32,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the constant
+ The name of the class containing the constant
</para>
</listitem>
</varlistentry>
@@ -40,7 +40,7 @@
<term><parameter>constant</parameter></term>
<listitem>
<para>
- The name of the constant
+ The name of the constant
</para>
</listitem>
</varlistentry>
@@ -48,7 +48,7 @@
<term><parameter>value</parameter></term>
<listitem>
<para>
- The new value for the constant, must be a valid type for a constant variable
+ The new value for the constant, must be a valid type for a constant variable
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-rename.xml b/reference/uopz/functions/uopz-rename.xml
index e99c62d35a32..064747c993be 100644
--- a/reference/uopz/functions/uopz-rename.xml
+++ b/reference/uopz/functions/uopz-rename.xml
@@ -25,11 +25,11 @@
<methodparam><type>string</type><parameter>rename</parameter></methodparam>
</methodsynopsis>
<para>
- Renames <parameter>function</parameter> to <parameter>rename</parameter>
+ Renames <parameter>function</parameter> to <parameter>rename</parameter>
</para>
<note>
<para>
- If both functions exist, this effectively swaps their names
+ If both functions exist, this effectively swaps their names
</para>
</note>
</refsect1>
@@ -41,7 +41,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function
+ The name of the class containing the function
</para>
</listitem>
</varlistentry>
@@ -49,7 +49,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of an existing function
+ The name of an existing function
</para>
</listitem>
</varlistentry>
@@ -57,7 +57,7 @@
<term><parameter>rename</parameter></term>
<listitem>
<para>
- The new name for the function
+ The new name for the function
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-restore.xml b/reference/uopz/functions/uopz-restore.xml
index ecbf3d89015d..80a67864046d 100644
--- a/reference/uopz/functions/uopz-restore.xml
+++ b/reference/uopz/functions/uopz-restore.xml
@@ -23,7 +23,7 @@
<methodparam><type>string</type><parameter>function</parameter></methodparam>
</methodsynopsis>
<para>
- Restore a previously backed up function
+ Restore a previously backed up function
</para>
</refsect1>
@@ -35,7 +35,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function to restore
+ The name of the class containing the function to restore
</para>
</listitem>
</varlistentry>
@@ -43,7 +43,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-set-return.xml b/reference/uopz/functions/uopz-set-return.xml
index da2d5b0e8963..e0400cc03856 100644
--- a/reference/uopz/functions/uopz-set-return.xml
+++ b/reference/uopz/functions/uopz-set-return.xml
@@ -41,7 +41,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function
+ The name of the class containing the function
</para>
</listitem>
</varlistentry>
@@ -49,7 +49,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of an existing function
+ The name of an existing function
</para>
</listitem>
</varlistentry>
@@ -57,7 +57,7 @@
<term><parameter>value</parameter></term>
<listitem>
<para>
- The value the function should return. If a Closure is provided and the execute flag is set, the Closure will be executed in place of the original function.
+ The value the function should return. If a Closure is provided and the execute flag is set, the Closure will be executed in place of the original function.
</para>
</listitem>
</varlistentry>
@@ -65,7 +65,7 @@
<term><parameter>execute</parameter></term>
<listitem>
<para>
- If true, and a Closure was provided as the value, the Closure will be executed in place of the original function.
+ If true, and a Closure was provided as the value, the Closure will be executed in place of the original function.
</para>
</listitem>
</varlistentry>
@@ -75,7 +75,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- True if succeeded, false otherwise.
+ True if succeeded, false otherwise.
</para>
</refsect1>
diff --git a/reference/uopz/functions/uopz-undefine.xml b/reference/uopz/functions/uopz-undefine.xml
index 9e305c089529..ef16d3467bb0 100644
--- a/reference/uopz/functions/uopz-undefine.xml
+++ b/reference/uopz/functions/uopz-undefine.xml
@@ -19,7 +19,7 @@
<methodparam><type>string</type><parameter>constant</parameter></methodparam>
</methodsynopsis>
<para>
- Removes the constant at runtime
+ Removes the constant at runtime
</para>
</refsect1>
@@ -30,7 +30,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing <parameter>constant</parameter>
+ The name of the class containing <parameter>constant</parameter>
</para>
</listitem>
</varlistentry>
@@ -38,7 +38,7 @@
<term><parameter>constant</parameter></term>
<listitem>
<para>
- The name of an existing constant
+ The name of an existing constant
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-unset-mock.xml b/reference/uopz/functions/uopz-unset-mock.xml
index c5a0f739d486..fc83562a0288 100644
--- a/reference/uopz/functions/uopz-unset-mock.xml
+++ b/reference/uopz/functions/uopz-unset-mock.xml
@@ -25,7 +25,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the mocked class.
+ The name of the mocked class.
</para>
</listitem>
</varlistentry>
diff --git a/reference/uopz/functions/uopz-unset-return.xml b/reference/uopz/functions/uopz-unset-return.xml
index 22ff932cc169..a9437042dde4 100644
--- a/reference/uopz/functions/uopz-unset-return.xml
+++ b/reference/uopz/functions/uopz-unset-return.xml
@@ -30,7 +30,7 @@
<term><parameter>class</parameter></term>
<listitem>
<para>
- The name of the class containing the function
+ The name of the class containing the function
</para>
</listitem>
</varlistentry>
@@ -38,7 +38,7 @@
<term><parameter>function</parameter></term>
<listitem>
<para>
- The name of the function
+ The name of the function
</para>
</listitem>
</varlistentry>
@@ -48,7 +48,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- True on success
+ True on success
</para>
</refsect1>
diff --git a/reference/uopz/setup.xml b/reference/uopz/setup.xml
index f4583e74b557..076648b53a16 100644
--- a/reference/uopz/setup.xml
+++ b/reference/uopz/setup.xml
@@ -15,12 +15,12 @@
&reftitle.install;
<para>
uopz releases are hosted by PECL and the source code by
- <link xlink:href="&url.git.hub;krakjoe/uopz">github</link>,
+ <link xlink:href="&url.git.hub;krakjoe/uopz">github</link>,
the easiest route to installation is the normal PECL route:
<link xlink:href="&url.pecl.package;uopz">&url.pecl.package;uopz</link>.
</para>
<para>
- Windows users can download prebuilt release binaries from the <link xlink:href="&url.pecl.package;uopz">PECL</link> website.
+ Windows users can download prebuilt release binaries from the <link xlink:href="&url.pecl.package;uopz">PECL</link> website.
</para>
<para>
As of uopz 5.0.0 the extension must be loaded as