Home >Backend Development >PHP Tutorial >phpstorm - Why does PHP get an extra 1 when getting the time of day?

phpstorm - Why does PHP get an extra 1 when getting the time of day?

WBOY
WBOYOriginal
2016-07-06 13:51:17977browse

phpstorm - Why does PHP get an extra 1 when getting the time of day?

Asking for advice.

Reply content:

phpstorm - Why does PHP get an extra 1 when getting the time of day?

Asking for advice.

Because date_default_timezone_set returned a true, it was converted to 1 by echo

!! Isn’t there a echo above you!

1 is your first echo

..I also ask this kind of question.

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