Home >Backend Development >PHP Tutorial >PHP中 转义的相关问题?

PHP中 转义的相关问题?

WBOY
WBOYOriginal
2016-06-06 20:44:401110browse

表单中提交内容: 

<code>echo $_GET['data'];  ---输出为\\\
</code>

php中直接

<code>echo 'ss\\\周ss'; ---结果输出为:ss\\周ss
</code>

请问$_GET 中是怎么处理的?

回复内容:

表单中提交内容: 

<code>echo $_GET['data'];  ---输出为\\\
</code>

php中直接

<code>echo 'ss\\\周ss'; ---结果输出为:ss\\周ss
</code>

请问$_GET 中是怎么处理的?

http://segmentfault.com/q/1010000000597841 楼主看这个

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