Edit report at https://bugs.php.net/bug.php?id=64826&edit=1
ID: 64826 Updated by: d...@php.net Reported by: coolcool1994 at gmail dot com Summary: Important error -Status: Open +Status: Not a bug 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: 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 Previous Comments: ------------------------------------------------------------------------ [2013-05-14 12:09:00] 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-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