摘要: 1、日期区间内的日期列表(天):1 public function dateExtent($begin,$end){2 $begin = strtotime($begin);3 $end = strtotime($end);4 ... 阅读全文
posted @ 2014-08-07 15:53 skill 阅读(264) 评论(0) 推荐(0)
摘要: 换行符unix系列用 \nwindows系列用 \r\nmac用 \rPHP中可以用PHP_EOL来替代,以提高代码的源代码级可移植性1 可以用函数get_defined_constants()来获取所有PHP常量1 阅读全文
posted @ 2014-08-07 11:52 skill 阅读(123) 评论(0) 推荐(0)