diff --git a/reference/strings/functions/stripos.xml b/reference/strings/functions/stripos.xml
index 3c93bcc15c..7f584657c9 100755
--- a/reference/strings/functions/stripos.xml
+++ b/reference/strings/functions/stripos.xml
@@ -1,5 +1,5 @@
-
+
stripos
@@ -19,14 +19,15 @@
Returns the numeric position of the first occurrence of
needle in the haystack
string. Unlike strpos,
- stripos is case-insensitive. And unlike
- strrpos, this function can take a full string as
- the needle parameter and the entire string will
- be used.
+ stripos is case-insensitive.
+
+
+ Note that the needle may be a string of one or
+ more characters.
If needle is not found,
- strpos will return boolean &false;.
+ stripos will return boolean &false;.
&return.falseproblem;
@@ -72,8 +73,8 @@ if ($pos2 !== false) {
See also strpos, strrpos,
strrchr, substr,
- stristr, strstr and
- stri_replace.
+ stristr, strstr,
+ strripos and stri_replace.
diff --git a/reference/strings/functions/strrchr.xml b/reference/strings/functions/strrchr.xml
index 33f5453e76..e7789e593b 100644
--- a/reference/strings/functions/strrchr.xml
+++ b/reference/strings/functions/strrchr.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,7 +13,7 @@
stringstrrchr
stringhaystack
- stringneedle
+ charneedle
This function returns the portion of
@@ -26,7 +26,8 @@
If needle contains more than one
- character, the first is used.
+ character, only the first is used. This behavior is different from that
+ of strchr.
If needle is not a string, it is converted
diff --git a/reference/strings/functions/strripos.xml b/reference/strings/functions/strripos.xml
index 7d89d4f25b..755033b9da 100644
--- a/reference/strings/functions/strripos.xml
+++ b/reference/strings/functions/strripos.xml
@@ -1,5 +1,5 @@
-
+
strripos
@@ -22,6 +22,10 @@
case-insensitive. Also note that string positions start at 0, and not
1.
+
+ Note that the needle may be a string of one or
+ more characters.
+
If needle is not found, &false; is returned.
@@ -60,7 +64,7 @@ if ($pos === false) {
See also strrpos,
strrchr,
- substr, and
+ substr, stripos and
stristr.
diff --git a/reference/strings/functions/strrpos.xml b/reference/strings/functions/strrpos.xml
index 4689dd8540..b9d998b8d6 100644
--- a/reference/strings/functions/strrpos.xml
+++ b/reference/strings/functions/strrpos.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,13 +13,13 @@
intstrrpos
stringhaystack
- charneedle
+ stringneedle
Returns the numeric position of the last occurrence of
needle in the
haystack string. Note that the needle in
- this case can only be a single character. If a string is passed
+ this case can only be a single character in PHP 4. If a string is passed
as the needle, then only the first character of that string will
be used.
@@ -55,6 +55,10 @@ if (is_string($pos) && !$pos) {
If needle is not a string, it is converted
to an integer and applied as the ordinal value of a character.
+
+ The needle may be a string of more than one
+ character as of PHP 5.
+
See also strpos,
strripos,