pollita         Tue Dec  2 20:41:54 2003 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      strripos.xml strrpos.xml 
  Log:
  Update...
  
Index: phpdoc/en/reference/strings/functions/strripos.xml
diff -u phpdoc/en/reference/strings/functions/strripos.xml:1.3 
phpdoc/en/reference/strings/functions/strripos.xml:1.4
--- phpdoc/en/reference/strings/functions/strripos.xml:1.3      Tue Sep  2 17:11:54 
2003
+++ phpdoc/en/reference/strings/functions/strripos.xml  Tue Dec  2 20:41:54 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
   <refentry id="function.strripos">
    <refnamediv>
     <refname>strripos</refname>
@@ -13,6 +13,7 @@
      <type>int</type><methodname>strripos</methodname>
      <methodparam><type>string</type><parameter>haystack</parameter></methodparam>
      <methodparam><type>string</type><parameter>needle</parameter></methodparam>
+     <methodparam 
choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
     </methodsynopsis>
     <para>
      Returns the numeric position of the last occurrence of
@@ -61,6 +62,11 @@
       </programlisting>
      </example>
     </para>
+    <simpara>
+     <parameter>offset</parameter> may be specified to begin searching an 
+     arbitrary number of characters into the string.  Negative values will 
+     stop searching at an arbitrary point prior to the end of the string.
+    </simpara>
     <para>
      See also <function>strrpos</function>,
      <function>strrchr</function>, 
Index: phpdoc/en/reference/strings/functions/strrpos.xml
diff -u phpdoc/en/reference/strings/functions/strrpos.xml:1.7 
phpdoc/en/reference/strings/functions/strrpos.xml:1.8
--- phpdoc/en/reference/strings/functions/strrpos.xml:1.7       Sat Oct 25 08:13:40 
2003
+++ phpdoc/en/reference/strings/functions/strrpos.xml   Tue Dec  2 20:41:54 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.8 -->
   <refentry id="function.strrpos">
    <refnamediv>
@@ -14,6 +14,7 @@
       <type>int</type><methodname>strrpos</methodname>
       <methodparam><type>string</type><parameter>haystack</parameter></methodparam>
       <methodparam><type>string</type><parameter>needle</parameter></methodparam>
+      <methodparam 
choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
      </methodsynopsis>
     <para>
      Returns the numeric position of the last occurrence of
@@ -55,11 +56,20 @@
      If <parameter>needle</parameter> is not a string, it is converted
      to an integer and applied as the ordinal value of a character.
     </para>
-    <para>
-     The <parameter>needle</parameter> may be a string of more than one
-     character as of PHP 5, and numbers are converted to a string instead of
-     being applied as the ordinal value of a character.
-    </para>
+    <note>
+     <simpara>
+      As of <literal>PHP 5.0.0</literal> <parameter>offset</parameter> may
+      be specified to begin searching an arbitrary number of characters into
+      the string.  Negative values will stop searching at an arbitrary point
+      prior to the end of the string.
+     </simpara>
+    </note>
+    <note>
+     <simpara>
+      The <parameter>needle</parameter> may be a string of more than one
+      character as of <literal>PHP 5.0.0</literal>.
+     </simpara>
+    </note>
     <para>
      See also <function>strpos</function>,
      <function>strripos</function>,

Reply via email to