This commit is contained in:
Sebastian Mendel
2007-10-17 13:51:06 +00:00
parent 26d96b8fc0
commit e22992d956
2 changed files with 1 additions and 3 deletions

View File

@@ -67,11 +67,10 @@ function PMA_STR_pos($haystack, $needle, $offset = 0)
* @param string $needle
* @param string $haystack
* @return integer position of $needle in $haystack or false
* @todo add workaround for offset for PHP < 5.2.0
*/
function PMA_STR_rPos($haystack, $needle, $offset = 0)
{
return mb_strrpos($haystack, $needle);
return mb_strrpos($haystack, $needle, $offset);
}
?>

View File

@@ -67,7 +67,6 @@ function PMA_STR_pos($haystack, $needle, $offset = 0)
* @param string $needle
* @param string $haystack
* @return integer position of $needle in $haystack or false
* @todo add workaround for PHP < 5.0.0 only first char of $needle is used
*/
function PMA_STR_rPos($haystack, $needle, $offset = 0)
{