Home >Backend Development >PHP Tutorial > PHP惠存SESSION中后值改变了

PHP惠存SESSION中后值改变了

WBOY
WBOYOriginal
2016-06-13 12:54:24832browse

PHP存入SESSION中后值改变了
定义了一个变量值为:100000004017
存入session后再打印出来变成:1215756220
请问怎么解决


------解决方案--------------------
写成字符串,你这个整数大于32位,溢出了
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn