Home >Backend Development >PHP Tutorial > 不是说session_start()前面不能有输出吗?小弟我输出值后初始化,也oK

不是说session_start()前面不能有输出吗?小弟我输出值后初始化,也oK

WBOY
WBOYOriginal
2016-06-13 12:30:11904browse

不是说session_start()前面不能有输出吗?我输出值后初始化,也oK啊

<?php<br />
echo 111;<br />
session_start();<br />
echo session_id();

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