From 1f4d28d473fb7e2f5d8408469afae83907016e6b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 2 Jan 2004 17:10:33 +0000 Subject: [PATCH] Fixed example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147699 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/strrpos.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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... } ?>