标签:vat get name substr @param pre private nbsp lower
/** * 获取文件拓展名 * @param 文件名 $name */ private function getExt($name) { $str = strtolower(substr(strrchr($name, ‘.‘), 1)); return $str; }
标签:vat get name substr @param pre private nbsp lower
原文地址:https://www.cnblogs.com/xiangangXu1997/p/12470837.html