Edit report at https://bugs.php.net/bug.php?id=64826&edit=1

 ID:                 64826
 Comment by:         anon at anon dot anon
 Reported by:        coolcool1994 at gmail dot com
 Summary:            Important error
 Status:             Open
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   Mac
 PHP Version:        5.5Git-2013-05-12 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

Is there a particular language edition of the manual you're referring to? 
Because it looks fine to me.


Previous Comments:
------------------------------------------------------------------------
[2013-05-12 21:20:46] 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!


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64826&edit=1

Reply via email to