strpos功能反向
我想找到一种方法,我可以在其中找到反向的字符位置.例如,最后"e"反向开始计数.
从例子
$string="Kelley"; $strposition = strpos($string, 'e');
它会给我一个位置1.
php string strpos
php ×1
string ×1
strpos ×1