Doc #60245 [Opn->Bgs]: strpos() has incorrect summary & description
| From: | philip@php.net | Date: | Tue, 08 Nov 2011 16:57:55 +0000 |
| Subject: | Doc #60245 [Opn->Bgs]: strpos() has incorrect summary & description | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7404@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60245&edit=1
ID: 60245
Updated by: philip@php.net
Reported by: grahambutler at gmail dot com
Summary: strpos() has incorrect summary & description
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
You are reading the strrpos() documentation, as opposed to strpos().
Previous Comments:
------------------------------------------------------------------------
[2011-11-08 16:55:56] grahambutler at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.strrpos#refsect1-function.strrpos-
description
---
In both the summary and description of strpos(), it is described as finding the
LAST occurrence of $needle in $haystack, when it is the FIRST.
Regards
Graham
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60245&edit=1