扫码关注官方订阅号
PHP strtotime('2039-01-01') 返回空 strtotime 返回的是int类型,所以转2039年的,返回空。 gmmktime mktime 也都返回int类型。 有没有别的替换方式?
5.5.26 正常,你的版本是多少。 有效的时间戳通常从 Fri, 13 Dec 1901 20:45:54 GMT 到 Tue, 19 Jan 2038 03:14:07 GMThttp://php.net/manual/zh/function.strtotime.php
gmmktime和mktime转换正常?你换个php版本吧,操作系统和php版本都要64位的哦
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
5.5.26 正常,你的版本是多少。
有效的时间戳通常从 Fri, 13 Dec 1901 20:45:54 GMT 到 Tue, 19 Jan 2038 03:14:07 GMT
http://php.net/manual/zh/function.strtotime.php
gmmktime和mktime转换正常?你换个php版本吧,操作系统和php版本都要64位的哦