From b6e3caa1573e5e5e1938b2e6321dbc7e6ed466f5 Mon Sep 17 00:00:00 2001 From: Aidan Lister Date: Tue, 31 May 2005 04:15:40 +0000 Subject: [PATCH] Refined definition of negative offset values. It's correct now, though we probably need some examples for it to make sense. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187366 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/strripos.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/reference/strings/functions/strripos.xml b/reference/strings/functions/strripos.xml index 9b4c4b7e1e..964dc18ef4 100644 --- a/reference/strings/functions/strripos.xml +++ b/reference/strings/functions/strripos.xml @@ -1,5 +1,5 @@ - + strripos @@ -69,10 +69,9 @@ if ($pos === false) { 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. + Negative offset values will start the search at + offset characters from the + start of the string. See also strrpos,