php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60648 descriptions do not match
Submitted: 2012-01-04 00:21 UTC Modified: 2012-01-04 00:38 UTC
From: trevorp at productops dot com Assigned: mfonda (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: browser
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: trevorp at productops dot com
New email:
PHP Version: OS:

 

 [2012-01-04 00:21 UTC] trevorp at productops dot com
Description:
------------
---
From manual page: http://www.php.net/function.strpos#refsect1-function.strpos-description
---
The function description:
strpos — Find the position of the first occurrence of a substring in a string

But in the 'Description' section of the page:
Find the numeric position of the last occurrence of needle in the haystack string. 

These descriptions are contradictory.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-04 00:38 UTC] mfonda@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mfonda
 [2012-01-04 00:38 UTC] mfonda@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.

Thanks for the report. It looks like this was recently fixed in revision 321602.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC