1
zjlletian OP 找到了,果然是 php 的 bug。。https://bugs.php.net/bug.php?id=68603
|
3
czb 2019 年 3 月 31 日 via Android
has been fixed as of PHP 5.6.23 and 7.0.8, respectively 而楼主跑的最新的都只到 5.6.9
|
4
wdlth 2019 年 3 月 31 日
现在还有不用 DateTime, Carbon 的?
|
5
agdhole 2019 年 3 月 31 日
用 Carbon
|
6
st2udio 2019 年 3 月 31 日
Carbon 呀
|
7
greed1is9good 2019 年 3 月 31 日
周起始日不一样吧,默认周日和默认周一。。。
|
8
jugelizi 2019 年 3 月 31 日 鸟哥,今天是 2018-07-31 执行代码:
date("Y-m-d",strtotime("-1 month")) 怎么输出是 2018-07-01? http://www.laruence.com/2018/07/31/3207.html |
9
tydl 2019 年 4 月 1 日
@greed1is9good +1
|
10
zjlletian OP @greed1is9good 跟这个没关系,这是 bug,在 5.6.23 就修复了。
|