//输出文件的后缀名
function suffixName($fileName){
$suffixName=substr($fileName,strrpos($fileName,'.'));
return $suffixName;
}
echo suffixName('ini.php.html');
function suffixName($fileName){
$suffixName=substr($fileName,strrpos($fileName,'.'));
return $suffixName;
}
echo suffixName('ini.php.html');
2017-05-25