Doc #60245 [Bgs]: strpos() has incorrect summary & description
| From: | grahambutler at gmail dot com | Date: | Tue, 08 Nov 2011 17:14:04 +0000 |
| Subject: | Doc #60245 [Bgs]: strpos() has incorrect summary & description | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7405@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
User updated by: grahambutler at gmail dot com
Reported by: grahambutler at gmail dot com
Summary: strpos() has incorrect summary & description
Status: Bogus
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I'm an idiot.
Sorry :D
Previous Comments:
------------------------------------------------------------------------
[2011-11-08 16:57:55] philip@php.net
You are reading the strrpos() documentation, as opposed to strpos().
------------------------------------------------------------------------
[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