摘要: 1.$file = 'x.y.z.png'; echo substr(strrchr($file, '.'), 1); 解析:strrchr($file, '.') strrchr() 函数查找字符串在另一个字符串中最后一次出现的位置,并返回从该位置到字符串结尾的所有字符 2.$file = 'x. 阅读全文
posted @ 2020-09-22 11:12 一天天写BUG 阅读(197) 评论(0) 推荐(0) 编辑