显示文本框

mb_strripos()

« mb_strrichr | mb_strrpos »
<?php
mb_internal_encoding
("UTF-8");

$int mb_strripos (
    
// string $haystack
    
// string $needle
    
// [int $offset = 0]
    
?  // [string $encoding = mb_internal_encoding()]
);

// enter non ASCII characters in hex if $encoding is not UTF-8
// the result may not display properly if $encoding is not UTF-8
?>
结果
$int = 5
示例
#1 mb_strripos  ("español",
 
"ol",
 
0)
#2 mb_strripos  ("español",
 
"OL",
 
0,
 
"UTF-8")
#3 mb_strripos  ("español",
 
"an",
 
0,
 
"UTF-8")
#4 mb_strripos  ("español",
 
"pa",
 
4,
 
"UTF-8")
另请参阅
mb_internal_encoding, mb_stripos, mb_strrpos, strripos, strrpos