|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76764 Wrong parameter type for stripos()
Submitted: 2018-08-18 15:23 UTC Modified: 2018-08-18 17:00 UTC
From: phphlx at 163 dot com Assigned: cmb (profile)
Status: Closed Package: Strings related
PHP Version: 7.0.31 OS: windows10
Private report: No CVE-ID: None
 [2018-08-18 15:23 UTC] phphlx at 163 dot com
From manual page:

the type of the second param maybe mixed, not string, 哈哈


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-18 16:33 UTC]
-Summary: something maybe wrong in the website document +Summary: Wrong parameter type for stripos() -Status: Open +Status: Verified -Package: Website problem +Package: Strings related
 [2018-08-18 16:33 UTC]
You're right, thanks!  strrpos() and strripos() have the same
issue.  It is noteworthy to mention that passing non-strings is
deprecated as of PHP 7.3.0[1], though.

[1] <>
 [2018-08-18 17:00 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #76764: Wrong parameter type for stripos()
 [2018-08-18 17:00 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: cmb
 [2018-08-18 17:00 UTC]
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:05 UTC]
Automatic comment on behalf of cmb
Log: Fix #76764: Wrong parameter type for stripos()
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 12:01:29 2024 UTC