vrana           Fri Jan  2 12:10:34 2004 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      strrpos.xml 
  Log:
  Fixed example
  
Index: phpdoc/en/reference/strings/functions/strrpos.xml
diff -u phpdoc/en/reference/strings/functions/strrpos.xml:1.8 
phpdoc/en/reference/strings/functions/strrpos.xml:1.9
--- phpdoc/en/reference/strings/functions/strrpos.xml:1.8       Tue Dec  2 20:41:54 
2003
+++ phpdoc/en/reference/strings/functions/strrpos.xml   Fri Jan  2 12:10:33 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.8 -->
   <refentry id="function.strrpos">
    <refnamediv>
@@ -44,7 +44,7 @@
 
 // in versions older than 4.0b3:
 $pos = strrpos($mystring, "b");
-if (is_string($pos) && !$pos) {
+if (is_bool($pos) && !$pos) {
     // not found...
 }
 ?>

Reply via email to