|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52619 Incorrect function return type.
Submitted: 2010-08-16 14:54 UTC Modified: 2010-08-16 15:47 UTC
From: hyounis at yubb-software dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hyounis at yubb-software dot com
New email:
PHP Version: OS:


 [2010-08-16 14:54 UTC] hyounis at yubb-software dot com
The return type of function strpos is incorrectly listed as int in the manual, while it should be listed as 'mixed' since it may return an integer or a boolean value.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 15:47 UTC]
-Status: Open +Status: Bogus
 [2010-08-16 15:47 UTC]
We do not include the failure result in the return type.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 23 20:01:23 2021 UTC