cvs: /phpdoc/functions strings.sgml
| From: | Ken Coar | Date: | Sun, 05 Sep 1999 23:11:23 +0000 |
| Subject: | cvs: /phpdoc/functions strings.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10589@lists.php.net to get a copy of this message | ||
coar Sun Sep 5 19:11:23 1999 EDT
Modified files:
/phpdoc/functions strings.sgml
Log:
Put these into alphabetical order for easier vgrepping.
Index: phpdoc/functions/strings.sgml
diff -u phpdoc/functions/strings.sgml:1.9 phpdoc/functions/strings.sgml:1.10
--- phpdoc/functions/strings.sgml:1.9 Thu Sep 2 10:09:16 1999
+++ phpdoc/functions/strings.sgml Sun Sep 5 19:11:23 1999
@@ -375,6 +375,33 @@
</refsect1>
</refentry>
+ <refentry id="function.htmlentities">
+ <refnamediv>
+ <refname>htmlentities</refname>
+ <refpurpose>Convert all applicable characters to HTML entities.</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>string <function>htmlentities</function></funcdef>
+ <paramdef>string <parameter>string</parameter></paramdef>
+ </funcsynopsis>
+
+ <para>
+ This function is identical to <function>htmlspecialchars</function> in
+ all ways, except that all characters which have HTML entity
+ equivalents are translated into these entities.
+
+ <para>
+ At present, the ISO-8859-1 character set is used.
+
+ <para>
+ See also <function>htmlspecialchars</function> and
+ <function>nl2br</function>.
+
+ </refsect1>
+ </refentry>
+
<refentry id="function.htmlspecialchars">
<refnamediv>
<refname>htmlspecialchars</refname>
@@ -425,33 +452,6 @@
</refsect1>
</refentry>
- <refentry id="function.htmlentities">
- <refnamediv>
- <refname>htmlentities</refname>
- <refpurpose>Convert all applicable characters to HTML entities.</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef>string <function>htmlentities</function></funcdef>
- <paramdef>string <parameter>string</parameter></paramdef>
- </funcsynopsis>
-
- <para>
- This function is identical to <function>htmlspecialchars</function> in
- all ways, except that all characters which have HTML entity
- equivalents are translated into these entities.
-
- <para>
- At present, the ISO-8859-1 character set is used.
-
- <para>
- See also <function>htmlspecialchars</function> and
- <function>nl2br</function>.
-
- </refsect1>
- </refentry>
-
<refentry id="function.implode">
<refnamediv>
<refname>implode</refname>
@@ -1201,39 +1201,6 @@
</refsect1>
</refentry>
- <refentry id="function.strrpos">
- <refnamediv>
- <refname>strrpos</refname>
- <refpurpose>Find position of last occurrence of a char in a string.</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef>int <function>strrpos</function></funcdef>
- <paramdef>string <parameter>haystack</parameter></paramdef>
- <paramdef>char <parameter>needle</parameter></paramdef>
- </funcsynopsis>
-
- <para>
- Returns the numeric position of the last occurrence of
<parameter>needle</parameter>
- in the <parameter>haystack</parameter> string. Note that the needle in this case
can
- only be a single character. If a string is passed as the needle, then only the first
- character of that string will be used.
-
- <para>
- If <parameter>needle</parameter> is not found, returns false.
-
- <para>
- If <parameter>needle</parameter> is not a string, it is converted to
- an integer and applied as the ordinal value of a character.
-
- <para>
- See also <function>strpos</function>, <function>strrchr</function>,
- <function>substr</function>, and <function>strstr</function>.
-
- </refsect1>
- </refentry>
-
<refentry id="function.strpos">
<refnamediv>
<refname>strpos</refname>
@@ -1338,6 +1305,39 @@
</refsect1>
</refentry>
+
+ <refentry id="function.strrpos">
+ <refnamediv>
+ <refname>strrpos</refname>
+ <refpurpose>Find position of last occurrence of a char in a string.</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int <function>strrpos</function></funcdef>
+ <paramdef>string <parameter>haystack</parameter></paramdef>
+ <paramdef>char <parameter>needle</parameter></paramdef>
+ </funcsynopsis>
+
+ <para>
+ Returns the numeric position of the last occurrence of
<parameter>needle</parameter>
+ in the <parameter>haystack</parameter> string. Note that the needle in this case
can
+ only be a single character. If a string is passed as the needle, then only the first
+ character of that string will be used.
+
+ <para>
+ If <parameter>needle</parameter> is not found, returns false.
+
+ <para>
+ If <parameter>needle</parameter> is not a string, it is converted to
+ an integer and applied as the ordinal value of a character.
+
+ <para>
+ See also <function>strpos</function>, <function>strrchr</function>,
+ <function>substr</function>, and <function>strstr</function>.
+
+ </refsect1>
+ </refentry>
<refentry id="function.strspn">
<refnamediv>