php提取小括号里字符

mac2022-09-22  5

$number = '你好啊(小明)'; $result = substr(substr($number,strripos($number,"(")+1),0,strrpos(substr($number,strripos($number,"(")+1),")")); echo $result;
最新回复(0)