[doc-en] master: runkit7: fix XML to remove useless wrapping para tags via script

From: Date: Sun, 25 Jan 2026 15:21:38 +0000
Subject: [doc-en] master: runkit7: fix XML to remove useless wrapping para tags via script
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23059@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-01-25T15:21:36Z Commit: https://github.com/php/doc-en/commit/3a826d03cc95763602cc1e04021c8d6aad4d7fed Raw diff: https://github.com/php/doc-en/commit/3a826d03cc95763602cc1e04021c8d6aad4d7fed.diff runkit7: fix XML to remove useless wrapping para tags via script Changed paths: M reference/runkit7/constants.xml M reference/runkit7/functions/runkit7-constant-add.xml M reference/runkit7/functions/runkit7-constant-redefine.xml M reference/runkit7/functions/runkit7-constant-remove.xml M reference/runkit7/functions/runkit7-function-add.xml M reference/runkit7/functions/runkit7-function-copy.xml M reference/runkit7/functions/runkit7-function-redefine.xml M reference/runkit7/functions/runkit7-function-remove.xml M reference/runkit7/functions/runkit7-function-rename.xml M reference/runkit7/functions/runkit7-method-add.xml M reference/runkit7/functions/runkit7-method-copy.xml M reference/runkit7/functions/runkit7-method-redefine.xml M reference/runkit7/functions/runkit7-method-remove.xml M reference/runkit7/functions/runkit7-method-rename.xml M reference/runkit7/functions/runkit7-object-id.xml M reference/runkit7/functions/runkit7-superglobals.xml M reference/runkit7/functions/runkit7-zval-inspect.xml M reference/runkit7/ini.xml Diff: diff --git a/reference/runkit7/constants.xml b/reference/runkit7/constants.xml index e831169c7f2a..20a74373a6d2 100644 --- a/reference/runkit7/constants.xml +++ b/reference/runkit7/constants.xml @@ -1,196 +1,192 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<appendix xml:id="runkit7.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<appendix xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="runkit7.constants"> &reftitle.constants; &extension.constants; - <para> - <variablelist> - <varlistentry xml:id="constant.runkit7-import-functions"> - <term> - <constant>RUNKIT7_IMPORT_FUNCTIONS</constant> - (<type>int</type>) - </term> - <listitem> + <variablelist> + <varlistentry xml:id="constant.runkit7-import-functions"> + <term> + <constant>RUNKIT7_IMPORT_FUNCTIONS</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag indicating + that normal functions should be imported from the + specified file. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-class-methods"> + <term> + <constant>RUNKIT7_IMPORT_CLASS_METHODS</constant> + (<type>int</type>) + </term> + <listitem> <simpara> - <function>runkit7_import</function> flag indicating - that normal functions should be imported from the - specified file. + <function>runkit7_import</function> flag indicating + that class methods should be imported from the + specified file. </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-class-methods"> - <term> - <constant>RUNKIT7_IMPORT_CLASS_METHODS</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag indicating - that class methods should be imported from the - specified file. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-class-consts"> - <term> - <constant>RUNKIT7_IMPORT_CLASS_CONSTS</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag indicating - that class constants should be imported from the - specified file. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-class-props"> - <term> - <constant>RUNKIT7_IMPORT_CLASS_PROPS</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag indicating - that class standard properties should be imported - from the specified file. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-class-static-props"> - <term> - <constant>RUNKIT7_IMPORT_CLASS_STATIC_PROPS</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag indicating - that class static properties should be imported - from the specified file. Available since Runkit 1.0.1. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-classes"> - <term> - <constant>RUNKIT7_IMPORT_CLASSES</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag representing - a bitwise OR of the <constant>RUNKIT7_IMPORT_CLASS_<replaceable>*</replaceable></constant> - constants. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-import-override"> - <term> - <constant>RUNKIT7_IMPORT_OVERRIDE</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - <function>runkit7_import</function> flag indicating that - if any of the imported functions, methods, constants, - or properties already exist, they should be replaced with - the new definitions. If this flag is not set, then any - imported definitions which already exist will be discarded. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-acc-return-reference"> - <term> - <constant>RUNKIT7_ACC_RETURN_REFERENCE</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Include this flag to make the function or method being created or redeclared return a reference. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-acc-public"> - <term> - <constant>RUNKIT7_ACC_PUBLIC</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method public. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-acc-protected"> - <term> - <constant>RUNKIT7_ACC_PROTECTED</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method protected. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-acc-private"> - <term> - <constant>RUNKIT7_ACC_PRIVATE</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method private. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-acc-static"> - <term> - <constant>RUNKIT7_ACC_STATIC</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method static. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-feature-manipulation"> - <term> - <constant>RUNKIT7_FEATURE_MANIPULATION</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Equal to 1 if runtime manipulation is enabled, and 0 otherwise. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-feature-superglobals"> - <term> - <constant>RUNKIT7_FEATURE_SUPERGLOBALS</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Equal to 1 if custom superglobals are enabled, and 0 otherwise. - </simpara> - </listitem> - </varlistentry> - <varlistentry xml:id="constant.runkit7-feature-sandbox"> - <term> - <constant>RUNKIT7_FEATURE_SANDBOX</constant> - (<type>int</type>) - </term> - <listitem> - <simpara> - Always 0, it's impractical to implement the sandbox feature in php 7. - </simpara> - </listitem> - </varlistentry> - </variablelist> - </para> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-class-consts"> + <term> + <constant>RUNKIT7_IMPORT_CLASS_CONSTS</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag indicating + that class constants should be imported from the + specified file. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-class-props"> + <term> + <constant>RUNKIT7_IMPORT_CLASS_PROPS</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag indicating + that class standard properties should be imported + from the specified file. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-class-static-props"> + <term> + <constant>RUNKIT7_IMPORT_CLASS_STATIC_PROPS</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag indicating + that class static properties should be imported + from the specified file. Available since Runkit 1.0.1. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-classes"> + <term> + <constant>RUNKIT7_IMPORT_CLASSES</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag representing + a bitwise OR of the <constant>RUNKIT7_IMPORT_CLASS_<replaceable>*</replaceable></constant> + constants. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-import-override"> + <term> + <constant>RUNKIT7_IMPORT_OVERRIDE</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + <function>runkit7_import</function> flag indicating that + if any of the imported functions, methods, constants, + or properties already exist, they should be replaced with + the new definitions. If this flag is not set, then any + imported definitions which already exist will be discarded. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-acc-return-reference"> + <term> + <constant>RUNKIT7_ACC_RETURN_REFERENCE</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Include this flag to make the function or method being created or redeclared return a reference. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-acc-public"> + <term> + <constant>RUNKIT7_ACC_PUBLIC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method public. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-acc-protected"> + <term> + <constant>RUNKIT7_ACC_PROTECTED</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method protected. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-acc-private"> + <term> + <constant>RUNKIT7_ACC_PRIVATE</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method private. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-acc-static"> + <term> + <constant>RUNKIT7_ACC_STATIC</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Flag for <function>runkit7_method_add</function> and <function>runkit7_method_redefine</function> to make the method static. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-feature-manipulation"> + <term> + <constant>RUNKIT7_FEATURE_MANIPULATION</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Equal to 1 if runtime manipulation is enabled, and 0 otherwise. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-feature-superglobals"> + <term> + <constant>RUNKIT7_FEATURE_SUPERGLOBALS</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Equal to 1 if custom superglobals are enabled, and 0 otherwise. + </simpara> + </listitem> + </varlistentry> + <varlistentry xml:id="constant.runkit7-feature-sandbox"> + <term> + <constant>RUNKIT7_FEATURE_SANDBOX</constant> + (<type>int</type>) + </term> + <listitem> + <simpara> + Always 0, it's impractical to implement the sandbox feature in php 7. + </simpara> + </listitem> + </varlistentry> + </variablelist> </appendix> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-constant-add.xml b/reference/runkit7/functions/runkit7-constant-add.xml index 3f233e458b75..982f42f185e1 100644 --- a/reference/runkit7/functions/runkit7-constant-add.xml +++ b/reference/runkit7/functions/runkit7-constant-add.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-constant-add" 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.runkit7-constant-add"> <refnamediv> <refname>runkit7_constant_add</refname> <refpurpose> @@ -60,17 +59,14 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>define</function></member> - <member><function>runkit7_constant_redefine</function></member> - <member><function>runkit7_constant_remove</function></member> - </simplelist> - </para> + <simplelist> + <member><function>define</function></member> + <member><function>runkit7_constant_redefine</function></member> + <member><function>runkit7_constant_remove</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-constant-redefine.xml b/reference/runkit7/functions/runkit7-constant-redefine.xml index 7f59f74a1f46..67b24347a49a 100644 --- a/reference/runkit7/functions/runkit7-constant-redefine.xml +++ b/reference/runkit7/functions/runkit7-constant-redefine.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-constant-redefine" 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.runkit7-constant-redefine"> <refnamediv> <refname>runkit7_constant_redefine</refname> <refpurpose>Redefine an already defined constant</refpurpose> @@ -62,17 +61,14 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_constant_add</function></member> - <member><function>runkit7_constant_remove</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_constant_add</function></member> + <member><function>runkit7_constant_remove</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-constant-remove.xml b/reference/runkit7/functions/runkit7-constant-remove.xml index 9f195fee2597..211aabcf0262 100644 --- a/reference/runkit7/functions/runkit7-constant-remove.xml +++ b/reference/runkit7/functions/runkit7-constant-remove.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-constant-remove" 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.runkit7-constant-remove"> <refnamediv> <refname>runkit7_constant_remove</refname> <refpurpose> @@ -41,18 +40,15 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>define</function></member> - <member><function>runkit7_constant_add</function></member> - <member><function>runkit7_constant_redefine</function></member> - </simplelist> - </para> + <simplelist> + <member><function>define</function></member> + <member><function>runkit7_constant_add</function></member> + <member><function>runkit7_constant_redefine</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-function-add.xml b/reference/runkit7/functions/runkit7-function-add.xml index c9f910432267..b8d070c8327e 100644 --- a/reference/runkit7/functions/runkit7-function-add.xml +++ b/reference/runkit7/functions/runkit7-function-add.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-function-add" 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.runkit7-function-add"> <refnamediv> <refname>runkit7_function_add</refname> <refpurpose> @@ -105,50 +104,45 @@ &reftitle.returnvalues; <para> &return.success; - + </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title>A <function>runkit7_function_add</function> example</title> - <programlisting role="php"> + <example> + <title>A <function>runkit7_function_add</function> example</title> + <programlisting role="php"> <![CDATA[ <?php runkit7_function_add('testme','$a,$b','echo "The value of a is $a\n"; echo "The value of b is $b\n";'); testme(1,2); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ The value of a is 1 The value of b is 2 ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>create_function</function></member> - <member><function>runkit7_function_redefine</function></member> - <member><function>runkit7_function_copy</function></member> - <member><function>runkit7_function_rename</function></member> - <member><function>runkit7_function_remove</function></member> - <member><function>runkit7_method_add</function></member> - </simplelist> - </para> + <simplelist> + <member><function>create_function</function></member> + <member><function>runkit7_function_redefine</function></member> + <member><function>runkit7_function_copy</function></member> + <member><function>runkit7_function_rename</function></member> + <member><function>runkit7_function_remove</function></member> + <member><function>runkit7_method_add</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-function-copy.xml b/reference/runkit7/functions/runkit7-function-copy.xml index a3bc3ebf3e4f..2ef959139387 100644 --- a/reference/runkit7/functions/runkit7-function-copy.xml +++ b/reference/runkit7/functions/runkit7-function-copy.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-function-copy" 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.runkit7-function-copy"> <refnamediv> <refname>runkit7_function_copy</refname> <refpurpose> @@ -50,10 +49,9 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title>A <function>runkit7_function_copy</function> example</title> - <programlisting role="php"> + <example> + <title>A <function>runkit7_function_copy</function> example</title> + <programlisting role="php"> <![CDATA[ <?php function original() { @@ -64,32 +62,28 @@ original(); duplicate(); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ In a function In a function ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_function_add</function></member> - <member><function>runkit7_function_redefine</function></member> - <member><function>runkit7_function_rename</function></member> - <member><function>runkit7_function_remove</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_function_add</function></member> + <member><function>runkit7_function_redefine</function></member> + <member><function>runkit7_function_rename</function></member> + <member><function>runkit7_function_remove</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-function-redefine.xml b/reference/runkit7/functions/runkit7-function-redefine.xml index 7cf09b64b598..d82062d06f04 100644 --- a/reference/runkit7/functions/runkit7-function-redefine.xml +++ b/reference/runkit7/functions/runkit7-function-redefine.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-function-redefine" 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.runkit7-function-redefine"> <refnamediv> <refname>runkit7_function_redefine</refname> <refpurpose> @@ -113,10 +112,9 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title>A <function>runkit7_function_redefine</function> example</title> - <programlisting role="php"> + <example> + <title>A <function>runkit7_function_redefine</function> example</title> + <programlisting role="php"> <![CDATA[ <?php function testme() { @@ -127,33 +125,29 @@ runkit7_function_redefine('testme','','echo "New Testme Implementation\n";'); testme(); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ Original Testme Implementation New Testme Implementation ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_function_add</function></member> - <member><function>runkit7_function_copy</function></member> - <member><function>runkit7_function_rename</function></member> - <member><function>runkit7_function_remove</function></member> - <member><function>runkit7_method_redefine</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_function_add</function></member> + <member><function>runkit7_function_copy</function></member> + <member><function>runkit7_function_rename</function></member> + <member><function>runkit7_function_remove</function></member> + <member><function>runkit7_method_redefine</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-function-remove.xml b/reference/runkit7/functions/runkit7-function-remove.xml index b518b494a361..8b77ab9f577a 100644 --- a/reference/runkit7/functions/runkit7-function-remove.xml +++ b/reference/runkit7/functions/runkit7-function-remove.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-function-remove" 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.runkit7-function-remove"> <refnamediv> <refname>runkit7_function_remove</refname> <refpurpose> @@ -43,19 +42,16 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_function_add</function></member> - <member><function>runkit7_function_copy</function></member> - <member><function>runkit7_function_redefine</function></member> - <member><function>runkit7_function_rename</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_function_add</function></member> + <member><function>runkit7_function_copy</function></member> + <member><function>runkit7_function_redefine</function></member> + <member><function>runkit7_function_rename</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-function-rename.xml b/reference/runkit7/functions/runkit7-function-rename.xml index b2ee032afd34..bcf5ebc7b56a 100644 --- a/reference/runkit7/functions/runkit7-function-rename.xml +++ b/reference/runkit7/functions/runkit7-function-rename.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-function-rename" 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.runkit7-function-rename"> <refnamediv> <refname>runkit7_function_rename</refname> <refpurpose> @@ -52,19 +51,16 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_function_add</function></member> - <member><function>runkit7_function_copy</function></member> - <member><function>runkit7_function_redefine</function></member> - <member><function>runkit7_function_remove</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_function_add</function></member> + <member><function>runkit7_function_copy</function></member> + <member><function>runkit7_function_redefine</function></member> + <member><function>runkit7_function_remove</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-method-add.xml b/reference/runkit7/functions/runkit7-method-add.xml index 99e6c7e4bef5..4602e03d5b74 100644 --- a/reference/runkit7/functions/runkit7-method-add.xml +++ b/reference/runkit7/functions/runkit7-method-add.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-method-add" 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.runkit7-method-add"> <refnamediv> <refname>runkit7_method_add</refname> <refpurpose>Dynamically adds a new method to a given class</refpurpose> @@ -100,7 +99,7 @@ <listitem> <para> The return type of the method. - + </para> </listitem> </varlistentry> @@ -125,10 +124,9 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_method_add</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_method_add</function> example</title> + <programlisting role="php"> <![CDATA[ <?php class Example { @@ -153,30 +151,26 @@ runkit7_method_add( echo $e->add(12, 4); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 16 ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_method_copy</function></member> - <member><function>runkit7_method_redefine</function></member> - <member><function>runkit7_method_remove</function></member> - <member><function>runkit7_method_rename</function></member> - <member><function>runkit7_function_add</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_method_copy</function></member> + <member><function>runkit7_method_redefine</function></member> + <member><function>runkit7_method_remove</function></member> + <member><function>runkit7_method_rename</function></member> + <member><function>runkit7_function_add</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-method-copy.xml b/reference/runkit7/functions/runkit7-method-copy.xml index b366e2d3aac2..26390874e8a2 100644 --- a/reference/runkit7/functions/runkit7-method-copy.xml +++ b/reference/runkit7/functions/runkit7-method-copy.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-method-copy" 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.runkit7-method-copy"> <refnamediv> <refname>runkit7_method_copy</refname> <refpurpose>Copies a method from class to another</refpurpose> @@ -60,16 +59,15 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - + </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_method_copy</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_method_copy</function> example</title> + <programlisting role="php"> <![CDATA[ <?php class Foo { @@ -89,31 +87,27 @@ runkit7_method_copy('Bar', 'baz', 'Foo', 'example'); echo Bar::baz(); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ foo! ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_method_add</function></member> - <member><function>runkit7_method_redefine</function></member> - <member><function>runkit7_method_remove</function></member> - <member><function>runkit7_method_rename</function></member> - <member><function>runkit7_function_copy</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_method_add</function></member> + <member><function>runkit7_method_redefine</function></member> + <member><function>runkit7_method_remove</function></member> + <member><function>runkit7_method_rename</function></member> + <member><function>runkit7_function_copy</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-method-redefine.xml b/reference/runkit7/functions/runkit7-method-redefine.xml index bf3ac8a6d03b..9696f2a874de 100644 --- a/reference/runkit7/functions/runkit7-method-redefine.xml +++ b/reference/runkit7/functions/runkit7-method-redefine.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-method-redefine" 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.runkit7-method-redefine"> <refnamediv> <refname>runkit7_method_redefine</refname> <refpurpose>Dynamically changes the code of the given method</refpurpose> @@ -124,10 +123,9 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_method_redefine</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_method_redefine</function> example</title> + <programlisting role="php"> <![CDATA[ <?php class Example { @@ -155,32 +153,28 @@ runkit7_method_redefine( echo "After: " . $e->foo(); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ Before: foo! After: bar! ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_method_add</function></member> - <member><function>runkit7_method_copy</function></member> - <member><function>runkit7_method_remove</function></member> - <member><function>runkit7_method_rename</function></member> - <member><function>runkit7_function_redefine</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_method_add</function></member> + <member><function>runkit7_method_copy</function></member> + <member><function>runkit7_method_remove</function></member> + <member><function>runkit7_method_rename</function></member> + <member><function>runkit7_function_redefine</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-method-remove.xml b/reference/runkit7/functions/runkit7-method-remove.xml index c7835765d4be..525f5d5bc2d5 100644 --- a/reference/runkit7/functions/runkit7-method-remove.xml +++ b/reference/runkit7/functions/runkit7-method-remove.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-method-remove" 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.runkit7-method-remove"> <refnamediv> <refname>runkit7_method_remove</refname> <refpurpose>Dynamically removes the given method</refpurpose> @@ -47,10 +46,9 @@ </refsect1> <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_method_remove</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_method_remove</function> example</title> + <programlisting role="php"> <![CDATA[ <?php class Example { @@ -73,32 +71,28 @@ echo implode(' ', get_class_methods('Example')); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ bar ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_method_add</function></member> - <member><function>runkit7_method_copy</function></member> - <member><function>runkit7_method_redefine</function></member> - <member><function>runkit7_method_rename</function></member> - <member><function>runkit7_function_remove</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_method_add</function></member> + <member><function>runkit7_method_copy</function></member> + <member><function>runkit7_method_redefine</function></member> + <member><function>runkit7_method_rename</function></member> + <member><function>runkit7_function_remove</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-method-rename.xml b/reference/runkit7/functions/runkit7-method-rename.xml index a71b00203137..b7f505da25a1 100644 --- a/reference/runkit7/functions/runkit7-method-rename.xml +++ b/reference/runkit7/functions/runkit7-method-rename.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-method-rename" 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.runkit7-method-rename"> <refnamediv> <refname>runkit7_method_rename</refname> <refpurpose>Dynamically changes the name of the given method</refpurpose> @@ -56,10 +55,9 @@ </refsect1> <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_method_rename</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_method_rename</function> example</title> + <programlisting role="php"> <![CDATA[ <?php class Example { @@ -79,30 +77,26 @@ runkit7_method_rename( echo (new Example)->bar(); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ foo! ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>runkit7_method_add</function></member> - <member><function>runkit7_method_copy</function></member> - <member><function>runkit7_method_redefine</function></member> - <member><function>runkit7_method_remove</function></member> - <member><function>runkit7_function_rename</function></member> - </simplelist> - </para> + <simplelist> + <member><function>runkit7_method_add</function></member> + <member><function>runkit7_method_copy</function></member> + <member><function>runkit7_method_redefine</function></member> + <member><function>runkit7_method_remove</function></member> + <member><function>runkit7_function_rename</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-object-id.xml b/reference/runkit7/functions/runkit7-object-id.xml index 9f1668ad21e6..1f53f3635c37 100644 --- a/reference/runkit7/functions/runkit7-object-id.xml +++ b/reference/runkit7/functions/runkit7-object-id.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-object-id" 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.runkit7-object-id"> <refnamediv> <refname>runkit7_object_id</refname> <refpurpose> @@ -33,7 +32,7 @@ <term><parameter>obj</parameter></term> <listitem> <para> - Any object. + Any object. </para> </listitem> </varlistentry> @@ -55,17 +54,14 @@ When an object is destroyed, its id may be reused for other objects. </para> </note> - </refsect1> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><function>spl_object_id</function></member> - </simplelist> - </para> + <simplelist> + <member><function>spl_object_id</function></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-superglobals.xml b/reference/runkit7/functions/runkit7-superglobals.xml index 570730ed0af5..ead289896b87 100644 --- a/reference/runkit7/functions/runkit7-superglobals.xml +++ b/reference/runkit7/functions/runkit7-superglobals.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-superglobals" 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.runkit7-superglobals"> <refnamediv> <refname>runkit7_superglobals</refname> <refpurpose> @@ -13,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>runkit7_superglobals</methodname> - <void /> + <void/> </methodsynopsis> </refsect1> @@ -32,15 +31,12 @@ <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><link linkend="language.variables.scope">Variable Scope</link></member> - </simplelist> - </para> + <simplelist> + <member><link linkend="language.variables.scope">Variable Scope</link></member> + </simplelist> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/runkit7/functions/runkit7-zval-inspect.xml b/reference/runkit7/functions/runkit7-zval-inspect.xml index 35f7b20fbd65..ad7c72698a9f 100644 --- a/reference/runkit7/functions/runkit7-zval-inspect.xml +++ b/reference/runkit7/functions/runkit7-zval-inspect.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.runkit7-zval-inspect" 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.runkit7-zval-inspect"> <refnamediv> <refname>runkit7_zval_inspect</refname> <refpurpose>Returns information about the passed in value with data types, reference counts, etc</refpurpose> @@ -44,10 +43,9 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example> - <title><function>runkit7_zval_inspect</function> example</title> - <programlisting role="php"> + <example> + <title><function>runkit7_zval_inspect</function> example</title> + <programlisting role="php"> <![CDATA[ <?php @@ -58,9 +56,9 @@ $var = 1; var_dump(runkit7_zval_inspect($var)); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ array(4) { ["address"]=> @@ -80,19 +78,16 @@ array(2) { int(4) } ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; - <para> - <simplelist> - <member><link linkend="language.references">References Explained</link></member> - <member><link xlink:href="&url.derick.references;">References Explained (by Derick Rethans)</link></member> - </simplelist> - </para> + <simplelist> + <member><link linkend="language.references">References Explained</link></member> + <member><link xlink:href="&url.derick.references;">References Explained (by Derick Rethans)</link></member> + </simplelist> </refsect1> </refentry> <!-- Keep this comment at the end of the file diff --git a/reference/runkit7/ini.xml b/reference/runkit7/ini.xml index 1aba59a110f3..c22358cb98bf 100644 --- a/reference/runkit7/ini.xml +++ b/reference/runkit7/ini.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<section xml:id="runkit7.configuration" xmlns="http://docbook.org/ns/docbook"> +<section xmlns="http://docbook.org/ns/docbook" xml:id="runkit7.configuration"> &reftitle.runtime; &extension.runtime; <para> @@ -21,13 +20,13 @@ <entry><link linkend="ini.runkit7.superglobal">runkit.superglobal</link></entry> <entry>""</entry> <entry><constant>INI_PERDIR</constant></entry> - <entry></entry> + <entry/> </row> <row> <entry><link linkend="ini.runkit7.internal-override">runkit.internal_override</link></entry> <entry>"0"</entry> <entry><constant>INI_SYSTEM</constant></entry> - <entry></entry> + <entry/> </row> </tbody> </tgroup> @@ -37,23 +36,22 @@ &ini.descriptions.title; - <para> - <variablelist> - <varlistentry xml:id="ini.runkit7.superglobal"> - <term> - <parameter>runkit.superglobal</parameter> - <type>string</type> - </term> - <listitem> - <simpara> - Comma-separated list of variable names to be treated as superglobals. - This value should be set in the systemwide php.ini file, but may work - in perdir configuration contexts depending on your SAPI. - </simpara> - <example> - <title>Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini</title> - <programlisting role="php"> - <![CDATA[ + <variablelist> + <varlistentry xml:id="ini.runkit7.superglobal"> + <term> + <parameter>runkit.superglobal</parameter> + <type>string</type> + </term> + <listitem> + <simpara> + Comma-separated list of variable names to be treated as superglobals. + This value should be set in the systemwide php.ini file, but may work + in perdir configuration contexts depending on your SAPI. + </simpara> + <example> + <title>Custom Superglobals with runkit.superglobal=_FOO,_BAR in php.ini</title> + <programlisting role="php"> + <![CDATA[ <?php function show_values() { echo "Foo is $_FOO\n"; @@ -69,27 +67,25 @@ $_BAZ = 'baz'; show_values(); ?> ]]> - </programlisting> - </example> - </listitem> - </varlistentry> + </programlisting> + </example> + </listitem> + </varlistentry> - <varlistentry xml:id="ini.runkit7.internal-override"> - <term> - <parameter>runkit.internal_override</parameter> - <type>bool</type> - </term> - <listitem> - <simpara> - Enables ability to modify/rename/remove internal functions. - </simpara> - </listitem> - </varlistentry> + <varlistentry xml:id="ini.runkit7.internal-override"> + <term> + <parameter>runkit.internal_override</parameter> + <type>bool</type> + </term> + <listitem> + <simpara> + Enables ability to modify/rename/remove internal functions. + </simpara> + </listitem> + </varlistentry> - </variablelist> - </para> + </variablelist> </section> - <!-- Keep this comment at the end of the file Local variables: mode: sgml

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