cvs: phpdoc /en/functions strings.xml
| From: | jim winstead | Date: | Fri, 14 Dec 2001 20:09:33 +0000 |
| Subject: | cvs: phpdoc /en/functions strings.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969339746@lists.php.net to get a copy of this message | ||
jimw Fri Dec 14 15:09:33 2001 EDT
Modified files:
/phpdoc/en/functions strings.xml
Log:
strpos: fix pre-4.0b3 example
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.136 phpdoc/en/functions/strings.xml:1.137
--- phpdoc/en/functions/strings.xml:1.136 Wed Dec 12 15:47:30 2001
+++ phpdoc/en/functions/strings.xml Fri Dec 14 15:09:33 2001
@@ -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 @@
// in versions older than 4.0b3:
$pos = strpos($mystring, "b");
-if (is_string($pos) && !$pos) {
+if (!is_integer($pos)) {
// not found...
}
]]>