php 常用自定义函数

php 常用自定义函数

文件类

获取某个tp根目录下面的某个目录

//获取uploads 文件夹路径
function uploads_path(){
    return dirname(__DIR__).DIRECTORY_SEPARATOR.'uploads/';
}

获取文件路径最后一级目录

function getPathDir($path){
	return substr($path,0, strripos($path,'/'));
}

获取真实的后缀名

/*
@desc:获取文件真实后缀
@param   name    文件名
@return  suffix  文件后缀
*/
public function getfilesuffix($name) {
    $file = fopen($name, "rb");
    $bin = fread($file, 2); // 只读2字节
    fclose($file);
    $info = @unpack("C2chars", $bin);
    $code = intval($info['chars1'] . $info['chars2']);
    $suffix = "unknow";
    if($code == 255216){
        $suffix = "jpg";
    }elseif($code == 7173){
        $suffix = "gif";
    }elseif($code == 13780){
        $suffix = "png";
    }elseif($code == 6677){
        $suffix = "bmp";
    }elseif($code == 7798){
        $suffix = "exe";
    }elseif($code == 7784){
        $suffix = "midi";
    }elseif($code == 8297){
        $suffix = "rar";
    }elseif($code == 7368){
        $suffix = "mp3";
    }elseif($code == 0){
        $suffix = "mp4";
    }elseif($code == 8273){
        $suffix = "wav";
    }
    return $suffix;
}

获取文件路径不带扩展名

//获取文件路径不带扩展名
function getPathClearExt($path){
	return substr($path,0, strripos($path,'.'));
}

获取文件路径文件名

function getFileName($path){
	return substr($path,strripos($path,'/') + 1 );
}

获取文件路径扩展名

function getExt($path){
	return substr($path,strripos($path,'.') + 1 );
}

删除某个目录下的文件

/**
 * 删除某个目录下的文件
 *
 * 主要用来删除上传文件的临时文件
 */
function deleteFile($path){
    //如果是目录则继续
    if(is_dir($path)){
        //扫描一个文件夹内的所有文件夹和文件并返回数组
        $p = scandir($path);
        foreach($p as $val){
            //排除目录中的.和..
            if($val !="." && $val !=".."){
                //如果是目录则递归子目录,继续操作
                if(is_dir($path.$val)){
                    //子目录中操作删除文件夹和文件
                    deleteFile($path.$val.'/');
                    //目录清空后删除空文件夹
                    @rmdir($path.$val.'/');
                }else{
                    //如果是文件直接删除
                    unlink($path.$val);
                }
            }
        }
    }
}

读取文件夹下所有文件

/**
 * 读取文件夹下所有文件
 * @param $folder
 * @return mixed
 */
function scanfiles($dir){
    $arr = array();
    //列出文件下的目录
    $hander = scandir($dir);
    //遍历文件夹下所有文文件
    foreach ($hander as $v) {
        //判断文件夹下是否还有文件夹需要遍历
        if (is_dir($dir . '/' . $v) && $v != "." && $v != "..") {
            //有二级文件夹
            return false;
            //递归调用
            $arr[$v] = scanfiles($dir . '/' . $v);
        }else{
            //排除  "." " .."
            if($v != "." && $v != ".."){
                //文件存入
                $arr[]=$v;
            }
        }
    }
    return $arr;
}

读取文件内容至字符串中,同时去除换行、行首行尾空格

/**
* 读取文件内容至字符串中,同时去除换行、行首行尾空格
* @param string $filePath
* @return string|string[]|null
*/
function readFileAndTrim($filePath = ''){
    if(empty($filePath)){
    	return '文件路径为空';
    }
	return preg_replace('/((\s)*(\n)+(\s)*)/i',',',file_get_contents($filePath));
}

复制文件(如果路径的目录不存在就创建)

function copyFile($src,$dest){
    if(empty($src) || empty($dest)){
    	return false;
    }
    if(!file_exists($src)){
    	return false;
    }
    if(!is_dir( getPathDir($dest) ) ){
        //目录不存在则创建
        if (!mkdir($concurrentDirectory = getPathDir($dest), 0777, true) && !is_dir($concurrentDirectory)) {
        	throw new \RuntimeException(sprintf('Directory "%s" was not created', $concurrentDirectory));
        }
    }
    //复制文件 成功返回true 否则返回false
    return copy($src,$dest);
}

创建目录,可多级

/** 创建目录 可多级
*
* path 文件路径
*/
function mkdirs($path){
    if(!is_dir( getPathDir($path) ) ){
        //目录不存在则创建
            if (!mkdir($concurrentDirectory = getPathDir($path), 0777, true) && !is_dir($concurrentDirectory)) {
                throw new \RuntimeException(sprintf('Directory "%s" was not created', $concurrentDirectory));
            }
    }
}

随机数

任意字符随机

/**
 * 随机生成id,默认10位,不要O,o,0
 * @param integer $length 生成id的位数
 * @return string 生成的随机id
 */
function getRandomChar($length = 10){
    // 密码字符集,可任意添加你需要的字符
    //$chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
    $chars = 'ABCDEFGHIJKLMNPQRSTUVWXYZabcdefghijklmnpqrstuvwxyz123456789';
    $str = "";
    for ( $i = 0; $i < $length; $i++ ){
        $str .= $chars[ mt_rand(0, strlen($chars) - 1) ];
    }
    return $str ;
}

随机验证码

/**
 * @param int $len 生成随机数长度,默认为6
 * @return string
 */
//随机数
function getRandomCode($length = 6) {
    //取10的长度减1次方的值,例:length为6 10的5次方 100000
    $min = pow(10 , ($length - 1));
    //取10的长度次方的值,例:length为6 10的6次方减1 999999
    $max = pow(10, $length) - 1;
    //获取并返回该范围的数
    return mt_rand($min, $max);
}

字符串类

将id分割为2位一组的数组

/**
 * 将id分割为2位一组的数组
 * @param [type] $str  要分割的字符串
 * @return array
 */
function stringToArray($str = null){
    if($str === null){
        return false;
    }
    $arr = array();
    for($i = 0, $j = 0; $i < strlen($str); $i+=2,$j++){
        $arr[$j] = substr($str,$i,2);
    }
    return $arr;
}

字符串或数组编码转换

ANSI编码编码问题:

https://blog.csdn.net/qidizi/article/details/8790371

https://blog.csdn.net/qq_30736263/article/details/103290323

/**
 * 对数据进行编码转换
 * @param array/string $data 数组
 * @param string $output 转换后的编码
 * Created on 2016-7-13
 */
function array_iconv($data, $output = 'UTF-8') {
    //EUC-CN 为 ANSI编码
    $encode_arr = array('EUC-CN','UTF-8', 'CP936','ASCII','GBK','GB2312','BIG5','JIS','eucjp-win','sjis-win','EUC-JP');
    if (!is_array($data)) {
        $encoded = mb_detect_encoding($data, $encode_arr);
        return mb_convert_encoding($data, $output, $encoded);
    } else {
        foreach ($data as $key=>$val) {
            $encoded = mb_detect_encoding($data[$key], $encode_arr);
            $key = array_iconv($key, $output);
            if(is_array($val)) {
                $data[$key] = array_iconv($val, $output);
            } else {
                $data[$key] = mb_convert_encoding($data[$key], $output, $encoded);
            }
        }
        return $data;
    }
}

请求参数字符串转数组

/* 将一个字符串转变成键值对数组
 * @param    : string str 要处理的字符串 $str ='name=123&sex=1&num=12';
 * @param    : string sp 键值对分隔符
 * @param    : string kv 键值分隔符
 * @return    : array*/
function str2arr ($str,$sp="&",$kv="=")
{
    $arr = str_replace(array($kv,$sp),array('"=>"','","'),'array("'.$str.'")');
    eval("\$arr"." = $arr;");   // 把字符串作为PHP代码执行
    return $arr;
}

RGB转十六进制

/**
 * RGB转 十六进制
 * @param $rgb RGB颜色的字符串 如:rgb(255,255,255);
 * @return string 十六进制颜色值 如:#FFFFFF
 */
function RGBToHex($rgb) {
    $regexp = "/^rgb\(([0-9]{0,3})\,\s*([0-9]{0,3})\,\s*([0-9]{0,3})\)/";
    $re = preg_match($regexp, $rgb, $match);
    $re = array_shift($match);
    $hexColor = "#";
    $hex = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F');
    for ($i = 0; $i < 3; $i++) {
        $r = null;
        $c = $match[$i];
        $hexAr = array();
        while ($c > 16) {
            $r = $c % 16;
            $c = ($c / 16) >> 0;
            array_push($hexAr, $hex[$r]);
        }
        array_push($hexAr, $hex[$c]);
        $ret = array_reverse($hexAr);
        $item = implode('', $ret);
        $item = str_pad($item, 2, '0', STR_PAD_LEFT);
        $hexColor .= $item;
    }
    return $hexColor;
}

十六进制转RGB

/**
 * 十六进制 转 RGB
 */
function hexToRGB($hexColor) {
    $color = str_replace('#', '', $hexColor);
    if (strlen($color) > 3) {
        $rgb = array(
            'r' => hexdec(substr($color, 0, 2)),
            'g' => hexdec(substr($color, 2, 2)),
            'b' => hexdec(substr($color, 4, 2))
        );
    } else {
        $color = $hexColor;
        $r = substr($color, 0, 1) . substr($color, 0, 1);
        $g = substr($color, 1, 1) . substr($color, 1, 1);
        $b = substr($color, 2, 1) . substr($color, 2, 1);
        $rgb = array(
            'r' => hexdec($r),
            'g' => hexdec($g),
            'b' => hexdec($b)
        );
    }
    return $rgb;
}

判断类

判断一个字符串是否是颜色值

 /**
 * 判断字符串是否是颜色值,如:#FFFFFF
 * @param $str
 * @return bool
 */
function isColor($str){
    $match = '/^#([0-9a-fA-F]{6})$/';
    if(preg_match($match, $str)){
        return true;
    }
    return false;
}

判断字符串是否以什么开头

/**
 * @param string $str 被检索的字符串
 * @param string $headStr 开头字符串
 * @return bool
 */
function isStringHead($str = '',$headStr = ''){
    if(strlen($str) <= 0 || strlen($headStr) <= 0 ){
        return false;
    }
    if(substr($str, 0, strlen($headStr)) === $headStr){
        return true;
    }
    return false;
}

判断字符串是否以什么结尾

/**
 * @param string $str 被检索的字符串
 * @param string $EndStr 结尾字符串
 * @return bool
 */
function isStringEnd($str = '',$EndStr = ''){
    if(strlen($str) <= 0 || strlen($EndStr) <= 0 ){
        return false;
    }
    if(substr($str, strlen($str) - strlen($EndStr), strlen($EndStr)) === $EndStr){
        return true;
    }
    return false;
}

判断字符串是否符合ids的格式

/**
 * 正则匹配字符串,只能以数字开头和结尾,中间可以是数组和英文逗号,数量不限
 * @param $str 要校验的字符串
 * @return bool
 */
function matchStrIds($str){
    if(strlen($str) === 1){
        if(preg_match("/[0-9]/",$str)){
            return true;
        }
    }
    if(preg_match("/^[0-9]([0-9,])*[0-9]$/",$str)){
        return true;
    }
    return false;
}
dump(matchStr('123,45'));
dump(matchStr(',123,45'));
dump(matchStr('123,45,'));
dump(matchStr(',123,45'));
dump(matchStr('123,'));
dump(matchStr(','));
dump(matchStr(''));
dump(matchStr('12'));
dump(matchStr('1'));

/*
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(true)
 */

数组类

对象转数组

/**
 * 对象转换成数组
 * @param $obj
 */
function objToArray($obj)
{
    return json_decode(json_encode($obj), true);
}

对象转数组

function objectToArray($e){
        $e = (array)$e;
        foreach ($e as $k => $v) {
            if (gettype($v) == 'resource') return;
            if (gettype($v) == 'object' || gettype($v) == 'array')//多级对象
                $e[$k] = (array)objectToArray($v);
        }
        return $e;
    }

数组转对象

public function arrayToObject($e){
    if (gettype($e) != 'array') {
        return false;
    }
    foreach ($e as $k => $v) {
        if (gettype($v) == 'array' || getType($v) == 'object')//多维数组
            $e[$k] = (object)arrayToObject($v);
    }
    return (object)$e;
}

对象数组自定义排序

 usort($result, function ($object1, $object2){
 //倒叙
 	return $object1->create_time < $object2->create_time;
 });

数组多条件自定义排序

//type 为 2 保持不变 其他按type值升序, 如果type值相同,则按price升序
usort($data, function ($item1, $item2){
    if($item1['type'] === 2 || $item2['type'] === 2){
        //保持不变
        return 0;
    }

    if($item1['type'] == $item2['type']){
    	return ($item1['price'] > $item2['price'])? +1 : -1;
    }else{
        //升序
        return ($item1['type'] > $item2['type'])? +1 : -1;
    }
});

删除关联数组的空值

/**
 * 删除数组中value为空的
 */
function delArrayEmptyValue($array = []){
    foreach ($array as $key => $value) {
        if(!isset($value) || empty($value)){
            unset($array[$key]);
        }
    }
    return $array;
}

过滤数组中的空值和重复值

function filterEmptyRepeatValue($arr = array()){
    $tmpArr = array();
    foreach ($arr as $key => $value) {
        if(!empty($value) && !in_array($value, $tmpArr)){
            array_push($tmpArr, $value);
        }
    }
    return $tmpArr;
}

数组转xml

//数组转换成xml
public static function arrayToXml($arr) {
    $xml = "<item>";
    foreach ($arr as $key => $val) {
        if (is_array($val)) {
        	$xml .= "<" . $key . ">" . arrayToXml($val) . "</" . $key . ">";
        } else {
        	$xml .= "<" . $key . ">" . $val . "</" . $key . ">";
        }
    }
    $xml .= "</item>";
    return $xml;
}

xml转数组

 //xml转换成数组
 public static function xmlToArray($xml) {

    //禁止引用外部xml实体
    libxml_disable_entity_loader(true);

    $xmlstring = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);

    $val = json_decode(json_encode($xmlstring), true);

    return $val;
}

数组转请求参数字符串

也可以使用http_build_query()

/**
 * 数组转请求参数字符串
 * @param $array 要处理的数组
 * @return string 如:name=123&sex=1&num=12
 */
function arrayToString($array){
    $string = [];
    if($array && is_array($array)){
        foreach ($array as $key=> $value){
            $string[] = $key.'='.$value;
        }
    }
    return implode('&',$string);
}

SHA256WithRSA签名和验签

生成签名

//生成 sha256WithRSA 签名
function getSign($content, $privateKey){
    $privateKey = "-----BEGIN RSA PRIVATE KEY-----\n" .
        wordwrap($privateKey, 64, "\n", true) .
        "\n-----END RSA PRIVATE KEY-----";

    $key = openssl_get_privatekey($privateKey);
    openssl_sign($content, $signature, $key, "SHA256");
    openssl_free_key($key);
    $sign = base64_encode($signature);
    return $sign;
}

验证签名

//验证 sha256WithRSA 签名
function verify($content, $sign, $publicKey){

    $publicKey = "-----BEGIN PUBLIC KEY-----\n" .
    wordwrap($publicKey, 64, "\n", true) .
    "\n-----END PUBLIC KEY-----";

    $key = openssl_get_publickey($publicKey);
    $ok = openssl_verify($content,base64_decode($sign), $key, 'SHA256');
    openssl_free_key($openssl_public_key);
    return $ok;
}

zip压缩与解压

压缩

/**
 * 压缩文件
 * @param array $files 待压缩文件 array('d:/test/1.txt','d:/test/2.jpg');【文件地址为绝对路径】
 * @param string $filePath 输出文件路径 【绝对文件地址】 如 d:/test/new.zip
 * @return string|bool
 */
function zip($files, $filePath)
{
    //检查参数
    if (empty($files) || empty($filePath)) {
        return false;
    }

    //压缩文件
    $zip = new ZipArchive();
    $zip->open($filePath, ZipArchive::CREATE);
    foreach ($files as $key => $file) {
        //检查文件是否存在
        if (!file_exists($file)) {
            return false;
        }
        $zip->addFile($file, basename($file));
    }
    $zip->close();

    return true;
}

解压

注意:最好使用winrar 工具压缩的压缩包,其他的压缩包工具解压出来文件名会乱码

/**
 * zip解压方法
 * @param string $filePath 压缩包所在地址 【绝对文件地址】d:/test/123.zip
 * @param string $path 解压路径 【绝对文件目录路径】d:/test
 * @return bool
 */
function unzip($filePath, $path)
{
    if (empty($path) || empty($filePath)) {
        return false;
    }

    $zip = new ZipArchive();

    if ($zip->open($filePath) === true) {
        $zip->extractTo($path);
        $zip->close();
        return true;
    } else {
        return false;
    }
}

图片类

图片转Base64编码

/**
 * 获取图片的Base64编码(不支持url)
 *
 * @param $img_file 传入本地图片地址
 *
 * @return string
 */
function imgToBase64($img_file) {

    $img_base64 = '';
    if (file_exists($img_file)) {
        $app_img_file = $img_file; // 图片路径
        $img_info = getimagesize($app_img_file); // 取得图片的大小,类型等

        //echo '<pre>' . print_r($img_info, true) . '</pre><br>';
        $fp = fopen($app_img_file, "r"); // 图片是否可读权限

        if ($fp) {
            $filesize = filesize($app_img_file);
            $content = fread($fp, $filesize);
            $file_content = chunk_split(base64_encode($content)); // base64编码
            switch ($img_info[2]) {           //判读图片类型
                case 1: $img_type = "gif";
                    break;
                case 2: $img_type = "jpg";
                    break;
                case 3: $img_type = "png";
                    break;
            }

            $img_base64 = 'data:image/' . $img_type . ';base64,' . $file_content;//合成图片的base64编码

        }
        fclose($fp);
    }

    return $img_base64; //返回图片的base64
}

Base64编码转png图片

     /**
     * base64 编码转png图片
     * @param string $image  base64 图片字符串
     * @param string $descPath 转换后图片保存路径
     * @return bool true 成功, false 失败
     */
    function base64ToPngImg($image = '', $descPath = '') {
        //判断是否有逗号 如果有就截取后半部分
        if (strstr($image, ",")) {
            $image = explode(',', $image);
            $image = $image[1];
        }
        //生成图片
        $r = file_put_contents($descPath, base64_decode($image));//返回的是字节数
        if (!$r) {
            return false;
        }
        return true;
    }
    
    //使用示例
    $image = "data:image/jpg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wgARCAInAVoDASIAAhEBAxEB/8QAGgAAAgMBAQAAAAAAAAAAAAAAAwQAAQIFBv/EABgBAAMBAQAAAAAAAAAAAAAAAAABAgME/9oADAMBAAIQAxAAAAHhKOpzp0e3xu5NKKuqB5yXGm6EYStaIC+iGEsYkGu6m8n2CVcWjz9cCloMmmUk01m7iJnUDNyMu8xM1i2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oh9H4hFWq+2WFUI6KmBLJdQXmYgXAE4llxiELXisp1F9rzioat3Cqo3a8xG67jYWqgN0YgZBIEbjRq7lq7sUb/0qZVaysXKLM4LLuOm4mkHJNMzFTNMHhWbgvLCXKBGkysAqKjwLEC9zLy5s3qEwitRxKgoq+kSYLLHgkpbUYua47hK/wA0T1CuOosYijCBuAWriOlyvghqBmHMwRFBeIYxFlxYFzUaEU6lLMx9QDKwAB4XwWYOJwsOeyLjolCZ5JWmbdEEKBIKalLIQLUInklI/wCIbsw5sIXMtbma0BsAe5ggOyYGJlKYfdLhllHfhZo3HVsbMQA8LX1K0+YNBLjyiq4ooMh9Ya+WaQxcKEZjWJYBzR4A3cLdR2xuvLtDR7xMgGohmAjIqvMCWwUoi2wCGfiG7izCXFghmWMagrwGX0lLumDZ46RQt3DTLyvqGj4ucfvDR7YuFj+oRjxB8GOwV3FaqjmFUNwSI0RgZlQpgqIUaY2RXDLU35Yysi48KuY0RUQZpfiXzLvBMB4FsWyXMwbhiLmGpvNZcP8AsM/VL/4mz8QxXxODti3ftncefUeS4zioWJmWgJyd9XABRggIpaaMSp1K9kUKCUbIYiw1DBNFsu0qo+CaS31JgIobgS3g5iwMWrYRkzHEuMiLIQ19Zw/MXaaB0Toho+bnruPPzXi4Qc0G2LxiD1DJOaidCB0gQixbS4NxYqDTLuYuVLCZRtlJNEMIxOFjCGC8y9voiMnEzd3cEQ0+m4uVfdwwj6IC2oYqaE4+WbMXL8SlQS76Jdh94kT6dwKfcQCSx5hvEoJXEwIqgw7QhrxbggonqLUXMKuOsTaYhBbDEGUebmD1lgJWYzlWX4sDTqI7J0xm4Un6IxLAuL2QDW6TiWQB46l5uvvuVpzENSXi4S8LDqPFzaGAS6G7ht8DOCViCz3FzLhDLUw58f/Z";
    $descPath = './20200909/test.png';
    dump(base64ToPngImg($image, $descPath));

给png透明图片添加水印

/**
 * 给图片添加水印
 * @param $from 要添加的图片
 * @param $to 保存路径
 * @param $ext 后缀
 * @return bool
 */
function saveWithWatermark($from,$to,$ext){
    $im = null;
    $ext = strtolower($ext);
    if($ext === 'jpg' || $ext === 'jpeg'){
        $im =  imagecreatefromjpeg($from);
    }else if($ext === 'png'){
        $im =  imagecreatefrompng($from);
    }else{
        return false;
    }
    $W = imagesx($im);
    $H = imagesy($im);
    //加载水印
    $watermark =  imagecreatefrompng(Env::get("root_path")."watermark.png");
    $w = imagesx($watermark);
    $h = imagesy($watermark);

    if($W*$h > $w*$H){
        $nw = $W;
        $nh = $nw * $h / $w;
    }else{
        $nh = $H;
        $nw = $nh * $w / $h;
    }

    imagecopyresampled($im,$watermark,0, 0, 0, 0, $nw, $nh, $w, $h);
    imagesavealpha($im, true);
    
    if(strtolower($ext) == 'png'){
        imagepng($im,$to,2);
    }else{
        imagejpeg($im,$to,80);
    }
    imagedestroy($im);
    return true;         
}

时间类

求两个日期之间相差的天数

	/**
     * 求两个日期之间相差的天数
     * (针对1970年1月1日之后,求之前可以采用泰勒公式)
     * @param string $day1
     * @param string $day2
     * @return number
     */
    function diffBetweenTwoDays($day1, $day2)
    {
        $second1 = strtotime($day1);
        $second2 = strtotime($day2);

        if ($second1 < $second2) {
            $tmp = $second2;
            $second2 = $second1;
            $second1 = $tmp;
        }
        return ($second1 - $second2) / 86400;
    }

    $day1 = "2020-11-12 14:24:00";
    //当前时间
    $day2 =  date('Y-m-d H:i:s',strtotime('now'));
    //向上取整
    $diff = ceil(diffBetweenTwoDays($day1, $day2));
    echo $diff . "\n";

计算从指定时间戳(秒级)到当前时间戳的剩余时间

/**
 * 计算从指定时间戳(秒级)到当前时间戳的剩余时间
 * @param $end_time 指定结束时间戳
 * @return string 例:剩余29天23小时52分钟
 */
function remainingTime($end_time){
    $left_time = $end_time - time();
    if ($left_time <= 0) {
        return '剩余时间为0';
    }

    $str = '剩余';
    $day = floor($left_time / 86400);
    $hour = floor(($left_time - $day * 86400) / 3600);
    $min = floor((($left_time - $day * 86400) - $hour * 3600) / 60);

    if ($day > 0) $str .= $day . '天';
    if ($hour > 0) $str .= $hour . '小时';
    if ($min > 0) $str .= $min . '分钟';
    return $str;
}
posted @ 2020-06-06 10:35  makalo  阅读(415)  评论(0编辑  收藏  举报