摘要:
一般常见函数//非数组中1、生成随机数echo rand();echo rand('10','100')."<br>";//两个参数确定随机数的范围2、日期时间函数echo time();//获取当前时间的unix时间戳//设置时区date_default_timezone_set('PRC');/ 阅读全文
posted @ 2016-06-05 13:55 hq金水 阅读(130) 评论(0) 推荐(0) 编辑
|
|||
摘要:
一般常见函数//非数组中1、生成随机数echo rand();echo rand('10','100')."<br>";//两个参数确定随机数的范围2、日期时间函数echo time();//获取当前时间的unix时间戳//设置时区date_default_timezone_set('PRC');/ 阅读全文
posted @ 2016-06-05 13:55 hq金水 阅读(130) 评论(0) 推荐(0) 编辑 |
|||