eschmid Mon Jan 22 14:51:51 2001 EDT Modified files: /phpdoc/en/functions array.xml pcre.xml Log: Typos and wrong nesting of elements. Index: phpdoc/en/functions/array.xml diff -u phpdoc/en/functions/array.xml:1.51 phpdoc/en/functions/array.xml:1.52 --- phpdoc/en/functions/array.xml:1.51 Mon Jan 22 13:48:27 2001 +++ phpdoc/en/functions/array.xml Mon Jan 22 14:51:51 2001 @@ -1680,8 +1680,6 @@ </simpara> </listitem> </varlistentry> - </variablelist> - <variablelist> <varlistentry> <term>EXTR_PREFIX_INVALID</term> <listitem> Index: phpdoc/en/functions/pcre.xml diff -u phpdoc/en/functions/pcre.xml:1.35 phpdoc/en/functions/pcre.xml:1.36 --- phpdoc/en/functions/pcre.xml:1.35 Mon Jan 22 14:27:41 2001 +++ phpdoc/en/functions/pcre.xml Mon Jan 22 14:51:51 2001 @@ -88,11 +88,11 @@ <para> Returns true if a match for <parameter>pattern</parameter> was found in the subject string, or false if not match was found - or an error occurred.</para> - + or an error occurred. + </para> <para> <example> - <title>find the string of text "php"</title> + <title>Find the string of text "php"</title> <programlisting role="php"> // the "i" after the pattern delimiter indicates a case-insensitive search if (preg_match ("/php/i", "PHP is the web scripting language of choice.")) { @@ -365,7 +365,7 @@ the line containing <function>preg_replace</function>. </para> <para> - </literal>/F</literal> modifier means that the + <literal>/F</literal> modifier means that the <parameter>replacement</parameter> is taken to be a function name. This function will be called and passed an array of matched elements in the subject string. The function should return the replacement string. This @@ -703,8 +703,8 @@ If this modifier is set, <function>preg_replace</function> does normal substitution of backreferences in the replacement string, evaluates it as PHP code, and uses the - result for replacing the search string. This modifier cannot be used along - with <literal>/F modifier</literal>. + result for replacing the search string. This modifier cannot + be used along with <literal>/F modifier</literal>. </simpara> <simpara> Only <function>preg_replace</function> uses this modifier; @@ -717,15 +717,16 @@ <listitem> <simpara> If this modifier is set, <function>preg_replace</function> - treats the replacement parameter as a function name that should be called - to provide the replacement string. The function is passed an array of - matched elements in the subject string. This modifier cannot be used along - with <literal>/e modifier</literal>. + treats the replacement parameter as a function name that + should be called to provide the replacement string. The + function is passed an array of matched elements in the + subject string. This modifier cannot be used along with + <literal>/e modifier</literal>. </simpara> <simpara> Only <function>preg_replace</function> uses this modifier; - it is ignored by other PCRE functions. This modifier was added in PHP - 4.0.4. + it is ignored by other PCRE functions. This modifier was + added in PHP 4.0.4. </simpara> </listitem> </varlistentry>