mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
use needle
git-svn-id: file:///svn/phpbb/trunk@6657 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -127,11 +127,11 @@ if (extension_loaded('mbstring'))
|
||||
|
||||
if (is_null($offset))
|
||||
{
|
||||
return mb_strrpos($str, $search);
|
||||
return mb_strrpos($str, $needle);
|
||||
}
|
||||
else
|
||||
{
|
||||
return mb_strrpos($str, $search, $offset);
|
||||
return mb_strrpos($str, $needle, $offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -152,7 +152,7 @@ if (extension_loaded('mbstring'))
|
||||
return false;
|
||||
}
|
||||
|
||||
return mb_strrpos($str, $search);
|
||||
return mb_strrpos($str, $needle);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -164,7 +164,7 @@ if (extension_loaded('mbstring'))
|
||||
|
||||
$str = mb_substr($str, $offset);
|
||||
|
||||
if (false !== ($pos = mb_strrpos($str, $search)))
|
||||
if (false !== ($pos = mb_strrpos($str, $needle)))
|
||||
{
|
||||
return $pos + $offset;
|
||||
}
|
||||
|
Reference in New Issue
Block a user