diff --git a/reference/strings/functions/strripos.xml b/reference/strings/functions/strripos.xml index 262aa59049..9b4c4b7e1e 100644 --- a/reference/strings/functions/strripos.xml +++ b/reference/strings/functions/strripos.xml @@ -1,5 +1,5 @@ - + strripos @@ -65,9 +65,14 @@ if ($pos === false) { - offset 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. + The offset parameter may be specified to begin + searching an arbitrary number of characters into the string. + + + Negative offset values mean the end of string is moved to the left by the + specified value plus one. For example, + strripos('abcdef', 'b', -4) will search the string + abc for b. See also strrpos,