[造成原因]:Because PHP's integer type is signed, and many IP addresses will result in negative integers.[解决办法]:其官方手册中提到,可以"you need to use the "%u" formatter of sprintf() or printf() to get the string representation of the unsigned IP address&q
相关设置是修改php.ini中的 date.timezone 参数: [Date] ; Defines the default timezone used by the date functions ;date.timezone = 默认是关闭的,只需把注释去掉,改为即可 [Date] ; Defines the default timezone used by the date functions date.timezone = PRC 其中PRC是"中华人民共和国"! 其他选项可以