![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
艺菲
这个作者很懒,什么都没留下…
展开
-
php获得一段时间范围内日期列表
//当前日期 $start_date = date("Y-m-d",time()); //本月最后一天日期 $end_date = date('Y-m-d', strtotime("$start_date +1 month -2 day")); //获得该时间段内所有日期列表 for($i = strtotime($start_date); $i <= strtotime($end_date);原创 2015-09-02 11:01:25 · 2415 阅读 · 0 评论 -
phpstorm集成phpunit
phpstorm集成phpunit 1.下载phpunit.phar,将该文件放到某个工程中 2.File > Settings > Languages & Frameworks > PHP > PHPUnit Path to phpunit.phar:选择该工程下的phpunit.phar文件 3.新建文件夹src放源文件,tests放测试文件,在src中新建au原创 2015-10-10 19:34:32 · 5221 阅读 · 0 评论 -
phpstorm调试环境
phpstorm debug 网站相当于服务端,打开监听。 1.配置phpstorm File->Setting->Languages & Frameworks->PHP->Servers Host:localhost Port:80 Debugger:Xdebug File->Setting->Languages & Frameworks->原创 2015-10-30 18:05:33 · 1422 阅读 · 0 评论