diff --git a/reference/strings/functions/strrpos.xml b/reference/strings/functions/strrpos.xml index d24ce9338d..58605e2ef4 100644 --- a/reference/strings/functions/strrpos.xml +++ b/reference/strings/functions/strrpos.xml @@ -1,5 +1,5 @@ - + @@ -44,7 +44,7 @@ if ($pos === false) { // note: three equal signs // in versions older than 4.0b3: $pos = strrpos($mystring, "b"); -if (is_string($pos) && !$pos) { +if (is_bool($pos) && !$pos) { // not found... } ?>