The difference between single quotation marks and double quotes in PHP

xiaoxiao2021-03-06  43

The string in the PHP is separated from single quotes with single quotes! The difference is that the way the string is explained! If the string is in a dual quotation, the variables in the string will be expanded. You can specify a special character (escape character) in the string defense in the double quotation mark. The string surrounded by single quotes does not expand the internal variables. Also, uniquely available escape characters in a single quotation string are antilactors and single quotes! Use a point (.) Operator to connect two strings!

转载请注明原文地址:https://www.9cbs.com/read-52340.html

New Post(0)