php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64826 Important error
Submitted: 2013-05-12 21:20 UTC Modified: 2013-05-15 12:49 UTC
From: coolcool1994 at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.5Git-2013-05-12 (Git) OS: Mac
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: coolcool1994 at gmail dot com
New email:
PHP Version: OS:

 

 [2013-05-12 21:20 UTC] coolcool1994 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.strstr#refsect1-function.strstr-
examples
---

strrchr should be used for the first example instead. Because strrstrr only 
catches the first occurance of the letter from the beginning of the string. 
strrchr should be used to find the first occurance of the letter from the end of 
the string.

Test script:
---------------
I tested but I do not have it here.

Expected result:
----------------
It is a common sense. Fix it!

Actual result:
--------------
It is a common sense. Fix it!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-14 12:09 UTC] anon at anon dot anon
Is there a particular language edition of the manual you're referring to? Because it looks fine to me.
 [2013-05-15 12:49 UTC] dsp@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


 [2013-05-15 12:49 UTC] dsp@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 09 09:01:49 2025 UTC