摘要:
$test = '/home/test/test.txt'; $result = substr($test,0,strrpos($test,"/")); echo $result; $number = '/home/test/test.txt'; $result = substr($number,s 阅读全文
摘要:
//$arr = array(); //if(!empty($arr)){ //foreach ($arr as $key => $value) { //foreach ($value['productList'] as $k => $v) { //$list[] = $v; //} //} //} 阅读全文