数据分析师2017-10-01 00:25:09
. Double quotes parse escape characters, single quotes do not parse escape characters. However, single quotes can parse \' and \ -PHP Chinese website Q&A-. Double quotes parse escape characters, but single quotes do not parse escape characters. However, single quotes can parse \' and \ -PHP Chinese website Q&A
Take a look and learn.
呵呵呵2017-09-20 14:29:15
Double quotes can parse the escape characters such as n and t inside, and they will appear as spaces on the page. However, if these escape characters are placed inside single quotes, they will still be displayed on the page the same as in the code. It will not become a space.