php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51801 wrong number of parameters
Submitted: 2010-05-12 18:08 UTC Modified: 2010-05-12 18:20 UTC
From: deansmithok at yahoo dot co dot uk Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.2.13 OS: windows XP
Private report: No CVE-ID: None
 [2010-05-12 18:08 UTC] 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() 

Patches

doc (last revision 2010-05-12 16:11 UTC by deansmithok at yahoo dot co dot uk)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-12 18:20 UTC] aharvey@php.net
-Status: Open +Status: Bogus
 [2010-05-12 18:20 UTC] aharvey@php.net
The third parameter was added in version 5.3.0.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 14:01:33 2024 UTC