The strrchr() function used for find last occurrence of a string inside another string.
Syntax
strrchr(string,find);
Example
echo strrchr("Hello Dear","Dear");
Output
Dear
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.