php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54449 stripos return values documentation missing information
Submitted: 2011-04-02 05:17 UTC Modified: 2011-04-04 10:47 UTC
From: brad at musatcha dot com Assigned: pierrick (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: brad at musatcha dot com
New email:
PHP Version: OS:

 

 [2011-04-02 05:17 UTC] brad at musatcha dot com
Description:
------------
---
From manual page: http://www.php.net/function.stripos#Return Values
---

The return values section of the documentation does not specify the return value 
of the stripos() function in the event that the $needle is found in the $haystack.  
It only specifies the return value if the $needle is NOT found.

While this may be fairly obvious, the documentation should still be updated to 
reflect this information.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-03 22:54 UTC] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=309925
Log: Fixed bug #54449
 [2011-04-03 23:00 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2011-04-03 23:00 UTC] pierrick@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=2a6af3606fb338568936fc19824d3a7787177840
Log: Fixed bug #54449
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 02:00:01 2026 UTC