cleanup
This commit is contained in:
@@ -67,11 +67,10 @@ function PMA_STR_pos($haystack, $needle, $offset = 0)
|
|||||||
* @param string $needle
|
* @param string $needle
|
||||||
* @param string $haystack
|
* @param string $haystack
|
||||||
* @return integer position of $needle in $haystack or false
|
* @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)
|
function PMA_STR_rPos($haystack, $needle, $offset = 0)
|
||||||
{
|
{
|
||||||
return mb_strrpos($haystack, $needle);
|
return mb_strrpos($haystack, $needle, $offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@@ -67,7 +67,6 @@ function PMA_STR_pos($haystack, $needle, $offset = 0)
|
|||||||
* @param string $needle
|
* @param string $needle
|
||||||
* @param string $haystack
|
* @param string $haystack
|
||||||
* @return integer position of $needle in $haystack or false
|
* @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)
|
function PMA_STR_rPos($haystack, $needle, $offset = 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user