摘要: 拓展常用函数//生成随机数echo rand(1,10);//范围在1-10之间 //日期时间函数var_dump(time());//取当前时间的UNIX时间戳,是一串数字 date("Y-m-d h:i:s",time());//格式化日期时间戳date("Y-m-d h:i:s D");//省 阅读全文
posted @ 2016-06-02 16:56 庞某人 阅读(330) 评论(0) 推荐(0) 编辑