摘要: $test = '/home/test/test.txt'; $result = substr($test,0,strrpos($test,"/")); echo $result; $number = '/home/test/test.txt'; $result = substr($number,s 阅读全文
posted @ 2023-07-04 11:53 blog_zss小帅-博客猿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: //$arr = array(); //if(!empty($arr)){ //foreach ($arr as $key => $value) { //foreach ($value['productList'] as $k => $v) { //$list[] = $v; //} //} //} 阅读全文
posted @ 2023-07-04 11:50 blog_zss小帅-博客猿 阅读(388) 评论(0) 推荐(0) 编辑