It finds the position of the last occurrence of a substring in a string
Example
<?php
echo strrpos(“phpcodeccr”,”p”);
?>
Output
2
It finds the position of the last occurrence of a substring in a string
Example
<?php
echo strrpos(“phpcodeccr”,”p”);
?>
Output
2