[doc-en] master: phpdbg: fix XML by converting para to simpara tags via script

From: Date: Mon, 26 Jan 2026 15:33:59 +0000
Subject: [doc-en] master: phpdbg: fix XML by converting para to simpara tags via script
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23097@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-01-26T15:31:32Z Commit: https://github.com/php/doc-en/commit/06f14554e7e5d9a47de0eff61578759fea2e23d9 Raw diff: https://github.com/php/doc-en/commit/06f14554e7e5d9a47de0eff61578759fea2e23d9.diff phpdbg: fix XML by converting para to simpara tags via script Changed paths: M reference/phpdbg/book.xml M reference/phpdbg/functions/phpdbg-break-file.xml M reference/phpdbg/functions/phpdbg-break-function.xml M reference/phpdbg/functions/phpdbg-break-method.xml M reference/phpdbg/functions/phpdbg-break-next.xml M reference/phpdbg/functions/phpdbg-clear.xml M reference/phpdbg/functions/phpdbg-color.xml M reference/phpdbg/functions/phpdbg-end-oplog.xml M reference/phpdbg/functions/phpdbg-exec.xml M reference/phpdbg/functions/phpdbg-get-executable.xml M reference/phpdbg/functions/phpdbg-prompt.xml M reference/phpdbg/functions/phpdbg-start-oplog.xml M reference/phpdbg/ini.xml Diff: diff --git a/reference/phpdbg/book.xml b/reference/phpdbg/book.xml index 40aaeeab5ff9..06a01e717f92 100644 --- a/reference/phpdbg/book.xml +++ b/reference/phpdbg/book.xml @@ -7,10 +7,10 @@ <preface xml:id="intro.phpdbg"> &reftitle.intro; - <para> + <simpara> Implemented as a SAPI module, phpdbg can exert complete control over the environment without impacting the functionality or performance of your code. - </para> + </simpara> <para> phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP. It offers the following features: @@ -165,8 +165,8 @@ <entry/> <entry/> <entry> - <para> - </para> + <simpara> + </simpara> </entry> </row> <row> diff --git a/reference/phpdbg/functions/phpdbg-break-file.xml b/reference/phpdbg/functions/phpdbg-break-file.xml index 265b1f323b26..1eeff3e59e7d 100644 --- a/reference/phpdbg/functions/phpdbg-break-file.xml +++ b/reference/phpdbg/functions/phpdbg-break-file.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-break-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-break-file"> <refnamediv> <refname>phpdbg_break_file</refname> <refpurpose>Inserts a breakpoint at a line in a file</refpurpose> @@ -14,10 +13,10 @@ <methodparam><type>string</type><parameter>file</parameter></methodparam> <methodparam><type>int</type><parameter>line</parameter></methodparam> </methodsynopsis> - <para> + <simpara> Insert a breakpoint at the given <parameter>line</parameter> in the given <parameter>file</parameter>. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -26,17 +25,17 @@ <varlistentry> <term><parameter>file</parameter></term> <listitem> - <para> + <simpara> The name of the file. - </para> + </simpara> </listitem> </varlistentry> <varlistentry> <term><parameter>line</parameter></term> <listitem> - <para> + <simpara> The line number. - </para> + </simpara> </listitem> </varlistentry> </variablelist> @@ -44,9 +43,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -60,7 +59,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-break-function.xml b/reference/phpdbg/functions/phpdbg-break-function.xml index c20d879a8e45..2aab5256978b 100644 --- a/reference/phpdbg/functions/phpdbg-break-function.xml +++ b/reference/phpdbg/functions/phpdbg-break-function.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-break-function" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-break-function"> <refnamediv> <refname>phpdbg_break_function</refname> <refpurpose>Inserts a breakpoint at entry to a function</refpurpose> @@ -13,9 +12,9 @@ <type>void</type><methodname>phpdbg_break_function</methodname> <methodparam><type>string</type><parameter>function</parameter></methodparam> </methodsynopsis> - <para> + <simpara> Insert a breakpoint at the entry to the given <parameter>function</parameter>. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -24,9 +23,9 @@ <varlistentry> <term><parameter>function</parameter></term> <listitem> - <para> + <simpara> The name of the function. - </para> + </simpara> </listitem> </varlistentry> </variablelist> @@ -34,9 +33,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -50,7 +49,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-break-method.xml b/reference/phpdbg/functions/phpdbg-break-method.xml index c75ff116b570..eb3bb3eae3a6 100644 --- a/reference/phpdbg/functions/phpdbg-break-method.xml +++ b/reference/phpdbg/functions/phpdbg-break-method.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-break-method" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-break-method"> <refnamediv> <refname>phpdbg_break_method</refname> <refpurpose>Inserts a breakpoint at entry to a method</refpurpose> @@ -14,10 +13,10 @@ <methodparam><type>string</type><parameter>class</parameter></methodparam> <methodparam><type>string</type><parameter>method</parameter></methodparam> </methodsynopsis> - <para> + <simpara> Insert a breakpoint at the entry to the given <parameter>method</parameter> of the given <parameter>class</parameter>. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -26,17 +25,17 @@ <varlistentry> <term><parameter>class</parameter></term> <listitem> - <para> + <simpara> The name of the class. - </para> + </simpara> </listitem> </varlistentry> <varlistentry> <term><parameter>method</parameter></term> <listitem> - <para> + <simpara> The name of the method. - </para> + </simpara> </listitem> </varlistentry> </variablelist> @@ -44,9 +43,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -60,7 +59,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-break-next.xml b/reference/phpdbg/functions/phpdbg-break-next.xml index 66715d2ba475..d6497206cc51 100644 --- a/reference/phpdbg/functions/phpdbg-break-next.xml +++ b/reference/phpdbg/functions/phpdbg-break-next.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-break-next" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-break-next"> <refnamediv> <refname>phpdbg_break_next</refname> <refpurpose>Inserts a breakpoint at the next opcode</refpurpose> @@ -11,11 +10,11 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>phpdbg_break_next</methodname> - <void /> + <void/> </methodsynopsis> - <para> + <simpara> Insert a breakpoint at the next opcode. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -25,9 +24,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -41,7 +40,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-clear.xml b/reference/phpdbg/functions/phpdbg-clear.xml index 1747e6b844bf..5b14c3bbd7d7 100644 --- a/reference/phpdbg/functions/phpdbg-clear.xml +++ b/reference/phpdbg/functions/phpdbg-clear.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-clear" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-clear"> <refnamediv> <refname>phpdbg_clear</refname> <refpurpose>Clears all breakpoints</refpurpose> @@ -11,12 +10,12 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>phpdbg_clear</methodname> - <void /> + <void/> </methodsynopsis> - <para> + <simpara> Clear all breakpoints that have been set, either via one of the <function>phpdbg_break_*</function> functions or interactively in the console. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -26,9 +25,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -42,7 +41,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-color.xml b/reference/phpdbg/functions/phpdbg-color.xml index 4da3c23f7177..067ccf13a961 100644 --- a/reference/phpdbg/functions/phpdbg-color.xml +++ b/reference/phpdbg/functions/phpdbg-color.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-color" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-color"> <refnamediv> <refname>phpdbg_color</refname> <refpurpose>Sets the color of certain elements</refpurpose> @@ -14,9 +13,9 @@ <methodparam><type>int</type><parameter>element</parameter></methodparam> <methodparam><type>string</type><parameter>color</parameter></methodparam> </methodsynopsis> - <para> + <simpara> Set the <parameter>color</parameter> of the given <parameter>element</parameter>. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -25,21 +24,21 @@ <varlistentry> <term><parameter>element</parameter></term> <listitem> - <para> + <simpara> One of the <constant>PHPDBG_COLOR_<replaceable>*</replaceable></constant> constants. - </para> + </simpara> </listitem> </varlistentry> <varlistentry> <term><parameter>color</parameter></term> <listitem> - <para> + <simpara> The name of the color. One of <literal>white</literal>, <literal>red</literal>, <literal>green</literal>, <literal>yellow</literal>, <literal>blue</literal>, <literal>purple</literal>, <literal>cyan</literal> or <literal>black</literal>, optionally with either a trailing <literal>-bold</literal> or <literal>-underline</literal>, for instance, <literal>white-bold</literal> or <literal>green-underline</literal>. - </para> + </simpara> </listitem> </varlistentry> </variablelist> @@ -47,9 +46,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -60,7 +59,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-end-oplog.xml b/reference/phpdbg/functions/phpdbg-end-oplog.xml index 5dbcc8a71fa6..ae1ffbafd0c4 100644 --- a/reference/phpdbg/functions/phpdbg-end-oplog.xml +++ b/reference/phpdbg/functions/phpdbg-end-oplog.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<refentry xml:id="function.phpdbg-end-oplog" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-end-oplog"> <refnamediv> <refname>phpdbg_end_oplog</refname> <refpurpose>Ends an oplog</refpurpose> @@ -12,9 +12,9 @@ <type class="union"><type>array</type><type>null</type></type><methodname>phpdbg_end_oplog</methodname> <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam> </methodsynopsis> - <para> + <simpara> - </para> + </simpara> &warn.undocumented.func; @@ -26,9 +26,9 @@ <varlistentry> <term><parameter>options</parameter></term> <listitem> - <para> - - </para> + <simpara> + + </simpara> </listitem> </varlistentry> </variablelist> @@ -36,9 +36,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> - - </para> + <simpara> + + </simpara> </refsect1> </refentry> diff --git a/reference/phpdbg/functions/phpdbg-exec.xml b/reference/phpdbg/functions/phpdbg-exec.xml index 315e186f6228..82027eb9a97c 100644 --- a/reference/phpdbg/functions/phpdbg-exec.xml +++ b/reference/phpdbg/functions/phpdbg-exec.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<refentry xml:id="function.phpdbg-exec" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-exec"> <refnamediv> <refname>phpdbg_exec</refname> <refpurpose>Attempts to set the execution context</refpurpose> @@ -12,9 +12,9 @@ <type class="union"><type>string</type><type>bool</type></type><methodname>phpdbg_exec</methodname> <methodparam><type>string</type><parameter>context</parameter></methodparam> </methodsynopsis> - <para> + <simpara> - </para> + </simpara> &warn.undocumented.func; @@ -26,9 +26,9 @@ <varlistentry> <term><parameter>context</parameter></term> <listitem> - <para> - - </para> + <simpara> + + </simpara> </listitem> </varlistentry> </variablelist> @@ -36,12 +36,12 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> If the execution context was set previously it is returned. If the execution context was not set previously &true; is returned. If the request to set the context fails, &false; is returned, and an <constant>E_WARNING</constant> raised. - </para> + </simpara> </refsect1> </refentry> diff --git a/reference/phpdbg/functions/phpdbg-get-executable.xml b/reference/phpdbg/functions/phpdbg-get-executable.xml index 64ae140c5d64..00aa92f3cc01 100644 --- a/reference/phpdbg/functions/phpdbg-get-executable.xml +++ b/reference/phpdbg/functions/phpdbg-get-executable.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<refentry xml:id="function.phpdbg-get-executable" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-get-executable"> <refnamediv> <refname>phpdbg_get_executable</refname> <refpurpose>Gets executable</refpurpose> @@ -12,9 +12,9 @@ <type>array</type><methodname>phpdbg_get_executable</methodname> <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam> </methodsynopsis> - <para> + <simpara> - </para> + </simpara> &warn.undocumented.func; @@ -26,9 +26,9 @@ <varlistentry> <term><parameter>options</parameter></term> <listitem> - <para> - - </para> + <simpara> + + </simpara> </listitem> </varlistentry> </variablelist> @@ -36,9 +36,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> - - </para> + <simpara> + + </simpara> </refsect1> </refentry> diff --git a/reference/phpdbg/functions/phpdbg-prompt.xml b/reference/phpdbg/functions/phpdbg-prompt.xml index b7fa7b9376a3..950e8a2c9f21 100644 --- a/reference/phpdbg/functions/phpdbg-prompt.xml +++ b/reference/phpdbg/functions/phpdbg-prompt.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-prompt" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-prompt"> <refnamediv> <refname>phpdbg_prompt</refname> <refpurpose>Sets the command prompt</refpurpose> @@ -13,9 +12,9 @@ <type>void</type><methodname>phpdbg_prompt</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> - <para> + <simpara> Set the command prompt to the given <parameter>string</parameter>. - </para> + </simpara> </refsect1> <refsect1 role="parameters"> @@ -24,9 +23,9 @@ <varlistentry> <term><parameter>string</parameter></term> <listitem> - <para> + <simpara> The string to use as command prompt. - </para> + </simpara> </listitem> </varlistentry> </variablelist> @@ -34,9 +33,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> <refsect1 role="seealso"> @@ -47,7 +46,6 @@ </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/functions/phpdbg-start-oplog.xml b/reference/phpdbg/functions/phpdbg-start-oplog.xml index dab18e7448bf..bf436c0e1e8c 100644 --- a/reference/phpdbg/functions/phpdbg-start-oplog.xml +++ b/reference/phpdbg/functions/phpdbg-start-oplog.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.phpdbg-start-oplog" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.phpdbg-start-oplog"> <refnamediv> <refname>phpdbg_start_oplog</refname> <refpurpose>Starts an oplog</refpurpose> @@ -11,11 +10,11 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>phpdbg_start_oplog</methodname> - <void /> + <void/> </methodsynopsis> - <para> + <simpara> - </para> + </simpara> &warn.undocumented.func; @@ -28,13 +27,12 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> + <simpara> &return.void; - </para> + </simpara> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/phpdbg/ini.xml b/reference/phpdbg/ini.xml index 5538936a4444..8709e4ac33e7 100644 --- a/reference/phpdbg/ini.xml +++ b/reference/phpdbg/ini.xml @@ -85,9 +85,9 @@ <type>string</type> </term> <listitem> - <para> + <simpara> - </para> + </simpara> </listitem> </varlistentry>

« previous php.doc.cvs (#23097) next »