From 8568fb94167608d783ac147ca3f791edb328f4f0 Mon Sep 17 00:00:00 2001
From: jim winstead <jimw@php.net>
Date: Fri, 14 Dec 2001 20:09:33 +0000
Subject: [PATCH] strpos: fix pre-4.0b3 example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65054 c90b9560-bf6c-de11-be94-00142212c4b1
---
 functions/strings.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions/strings.xml b/functions/strings.xml
index f9da37256c..1bf7ab53b9 100644
--- a/functions/strings.xml
+++ b/functions/strings.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.136 $ -->
+<!-- $Revision: 1.137 $ -->
  <reference id="ref.strings">
   <title>String functions</title>
   <titleabbrev>Strings</titleabbrev>
@@ -3017,7 +3017,7 @@ if ($pos === false) { // note: three equal signs
 
 // in versions older than 4.0b3:
 $pos = strpos($mystring, "b");
-if (is_string($pos) && !$pos) {
+if (!is_integer($pos)) {
     // not found...
 }
 ]]>