Doc #51801 [Opn->Bgs]: wrong number of parameters
| From: | aharvey@php.net | Date: | Wed, 12 May 2010 16:20:15 +0000 |
| Subject: | Doc #51801 [Opn->Bgs]: wrong number of parameters | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4360@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51801&edit=1
ID: 51801
Updated by: aharvey@php.net
Reported by: deansmithok at yahoo dot co dot uk
Summary: wrong number of parameters
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: Documentation problem
Operating System: windows XP
PHP Version: 5.2.13
New Comment:
The third parameter was added in version 5.3.0.
Previous Comments:
------------------------------------------------------------------------
[2010-05-12 18:08:54] deansmithok at yahoo dot co dot uk
Description:
------------
in the documentation
stristr has 3 parameters
if I use "php --rf stristr"
it shows 2 parameters
Test script:
---------------
try
$a=stristr($haystack,"findme",true);
Expected result:
----------------
I expected it work with the 3rd parameter
Actual result:
--------------
error, Wrong parameter count for stristr()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51801&edit=1