If you don’t add any quotation marks after echo, text information can also be displayed. Why do you need to add single quotation marks? Is there any difference?
Smallink2020-02-27 16:14:31
Single quotes support escaping but do not support output variables. According to the code format specifications, not adding quotes is not recognized. It will appear to others that you are not rigorous enough.
小可耐2020-02-12 12:41:03
Single quotes: plain text. Double quotes: supports escaping such as \\ and outputs \. {$a} outputs the contents of variable $a=xxx.
shure2020-02-02 22:44:28
If there happens to be a string that is a constant, it is another matter