aidan Tue May 31 00:15:40 2005 EDT
Modified files:
/phpdoc/en/reference/strings/functions strripos.xml
Log:
Refined definition of negative offset values. It's correct now, though we
probably need some examples for it to make sense.
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strripos.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/strings/functions/strripos.xml
diff -u phpdoc/en/reference/strings/functions/strripos.xml:1.6
phpdoc/en/reference/strings/functions/strripos.xml:1.7
--- phpdoc/en/reference/strings/functions/strripos.xml:1.6 Mon May 30
15:21:43 2005
+++ phpdoc/en/reference/strings/functions/strripos.xml Tue May 31 00:15:40 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.strripos">
<refnamediv>
<refname>strripos</refname>
@@ -69,10 +69,9 @@
searching an arbitrary number of characters into the string.
</simpara>
<simpara>
- Negative offset values mean the end of string is moved to the left by the
- specified value plus one. For example,
- <literal>strripos('abcdef', 'b', -4)</literal> will search the string
- <literal>abc</literal> for <literal>b</literal>.
+ Negative offset values will start the search at
+ <parameter>offset</parameter> characters from the
+ <emphasis>start</emphasis> of the string.
</simpara>
<para>
See also <function>strrpos</function>,