aidan Wed Oct 13 07:38:39 2004 EDT
Modified files:
/phpdoc/en/reference/strings/functions strpos.xml
Log:
Needle takes mixed, not string. Bug #30419.
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/strpos.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/strings/functions/strpos.xml
diff -u phpdoc/en/reference/strings/functions/strpos.xml:1.5
phpdoc/en/reference/strings/functions/strpos.xml:1.6
--- phpdoc/en/reference/strings/functions/strpos.xml:1.5 Thu Jan 1 17:53:19
2004
+++ phpdoc/en/reference/strings/functions/strpos.xml Wed Oct 13 07:38:31 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.8 -->
<refentry id="function.strpos">
<refnamediv>
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>int</type><methodname>strpos</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
- <methodparam><type>string</type><parameter>needle</parameter></methodparam>
+ <methodparam><type>mixed</type><parameter>needle</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>offset</parameter></methodparam>
</methodsynopsis>
<para>